{"_id":"@vouchfor/uikit","_rev":"480-2c3a503e9f5d9aa91822b1ec3e2b62f9","name":"@vouchfor/uikit","dist-tags":{"alpha":"5.14.0","beta":"5.14.1","rc":"0.0.0-experiment.771afd7","latest":"7.5.0"},"versions":{"1.0.0":{"name":"@vouchfor/uikit","version":"1.0.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ef111b9ea4b006f4f1cf8aaf4d2de81153cc4ae4","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.0.tgz","fileCount":96,"integrity":"sha512-9/AU5XEGts5qsTf1QIUuWRc+83ziksbC2bRYWblSTayN0J+U7Eb2Rsq6mHXBurg+p/5TlhiYG5apTL2fkG7U2g==","signatures":[{"sig":"MEQCICULruBInpldLIO7TDghhpCjjJzTj7D3J5eyb38tYTdHAiB1fvYEvzWqsLzAWLpeMybiBNfgX/DIrhymuHRm42ruXQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6871914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG0p8CRA9TVsSAnZWagAAwUMP/1c/wwhWc8WAx7kdRxrZ\nDLu+M7Vl3mDa977cC4KQwj8+2+uikz2F5XzcprHU9HR26cqZ5dwduTRoOiYo\nQtnhF6Lw2LR4xQQJ5mHOJJ3FbW3ZS6ooQ7rqzrOfEjsrV0wjiZ4MAYxLL0E0\n+jceAaOSaGNCaCDLuUHfmw/rmkT85rGd6NpjSBPByT1YffjJYQ9RTxkazH3K\nsiIHCBmp2EMIW9iUTWCsVq8++hDzx1sHv9JMFYGmu97xPUgcVdYshNPZBNcz\naLWYaPanMBJleU+nLAzMSChqgJohZu8+R+wZAt2M7cdSjhORUX3hBfYZ9tjS\nDZZ+ay7D1OJnx814y1xVKEv+En0P5oU2X4IPx6PcqqH+7xxZPL7pXaKGzSab\nnLm0vYQw5boo8YNjHwEAilUGKUpcllZadZe2k/pABTOEcZB4bmPDa1QtOJ6k\nrnto5wpygwBjM2AvZi0Uq6Aqt9pw6GdsOGxj2ZRISRrQ3NCJeJWmoeH4pz79\nJ1v+DitG5KTyFc3A6NqIVPBv8aAGlsyDrdICOngZ2iJu0gUUXOTbJXSPP6b7\nri79Fege0xemD1h3ltHAnwrY2pzCDvkUgWO0ddbs0zEgK4eSkfwdriEQrYr7\nNC++d6zDlks7/TgQY2xoZDpXR6MVg98JyNONT1Kb2rQl9TEQbXQXRojAISxv\nBJ5B\r\n=XP4J\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","postcss":"^7","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","@vime/svelte":"^5.0.33","autoprefixer":"^9","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.0_1629178492478_0.03164188041141136","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@vouchfor/uikit","version":"1.0.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"cba1f877eb34ec48b87b7a03d77af4d9fd1392f8","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.1.tgz","fileCount":118,"integrity":"sha512-1uuN2OZWQDLTB0mAQJhWuQtqmYgVdex8F5h9GNteGL2+hIkwxq5aLQ16AYJTxYXvfgx64VedG35ZbeP7dKzLog==","signatures":[{"sig":"MEUCIFqlaanIAf8jqVBLVf2AGkgoXkohdvVESLW9JQ+qLKXUAiEAzwWcg3dJQIUS9VWgZIRcm7HdjoVVgXTYgiMwld4Hlo4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9834228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHLOnCRA9TVsSAnZWagAALpQQAKQZNNN7w25kYB1n9uEJ\no9j5c04tae3Ak5+c2XuYfnWyaW+seYMvTEQYdVjNgRl70cW/Kr/cfQBZv7Zf\npGIKiAkfQFPh6M1fSJkrqDF61GkMMbMBxjsQ/jZsucOXUet4Wb0IZm7MYFoi\nBAQ49LC36h1Xs+Nx6mcTk8+ZyOG5DzJG9fKBtNPvjUIfOFC5CYsBt/WaNcyE\n0AAGbGMFohgLc3E9QLNNEGAx5i+O85eMrCK1gv3BmUVng266SSsH9ZXDhlkp\n8I4RgdibehU8ebToKEtSHN6JPVlnaBV62QQ3qCDInPVJThNwDtFhi0u2I47C\nT9z50pnDCC+rovXt6sZjetY1Xq83cPTdnP+yzzFbCXfmRoNMHhxlEnVsWIAo\nr0eeHmvNobOJTiCNEd4e5YDM0R3chDbOdoPRNWM55GmXA8ZfQhsCvoerx7N1\noS8llV0mBTTPofwICNcwIPujWGD1LDsZQ0CdROW9tx/kkio7Yl9HSp6tF4af\nc11ziZXDMKIz03MZ7cFNPwty0WU8+BCFYZMBM9bIvNPfMplnFBawnTDYOLPp\nCB2Vget8t5wJ0N9xpYGypROTAkmXHr29cI8Lhka51rYT6XPL68wXicxa0lJV\nySaAWozGffDPsj6QOBL69RUwu3wAjc4/M1TJP0+69nGHu984z0PF18q1LJ7j\nsmE/\r\n=MHFH\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","postcss":"^7","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","@vime/svelte":"^5.0.33","autoprefixer":"^9","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.1_1629270950966_0.8762034802908607","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@vouchfor/uikit","version":"1.0.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"05ffeb5e14f98cc15c0fb983d480439a07464a41","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.2.tgz","fileCount":118,"integrity":"sha512-8VLiv0jKE94MYY0tQD1xQe+qFi5ksjfPa5+RuzeRz0No+LCOK4U9VHfT+ToNvT86BGuQzXEhPx5+4u+VXI2QtQ==","signatures":[{"sig":"MEUCIQCrDC/XFIrT7ddxS4xGazZL4xHm6MKpfdPpCIyyCKsIUwIgL+8JkwGvG9K3TTXj5+EzhMu+D+CVR4uHWApMlL19Nh4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9829694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHdoPCRA9TVsSAnZWagAAVkcP/i4bz6Lk++h9lFD0bF17\npVnt14L9XfkNuBpRuoW2q1Cr/9vRB9anxaFpF68P1KbFZqraRBOWenQdkd7b\n6uAO2S8PEAIFMaC0sx+U9wAZGqxWuhDWoODDEfzrReH+ll4/eveRw+FVArz2\nXLs51gS9t4sLpsYUuQqKJk2wFdErlF5yaCqQnrj0+U2xGCkdBMkUQ0BiEbad\nfNwrQLInXx7Vk4lcMEmd+NoU246sqBg0+R9e6Q4SgQ675FZCXrdU4XBwnsQc\nUXgW/vDgVO+LnUh57GL28E2tXfeWUlE8Z589lh8x4uckK8EgTfk+DxtNY0w/\nMOBXcu/D1t7HAyswp/KYDR4U3nUmbPis7MDuVmkxFMsvw/id2NbERNMn9zDT\nxZRGnQr7c4Q6BeXwULbb8mR4vG9redejRP8wHWaOzHKIZ82NamyUM6CEOfnW\nRq0aeMKdMZTAoRyeWrSiJXGAx/ql+4Rz0PdrlyaWJt/kBZfqFghWDsS5xB3Y\nhgLzxvitJiYROlxNrbeYa3KoFbfNDYqEdrX+qP7oIOYfLBLUZdprdvza6u5Y\nCxuTLK/fkgsALX3BqMPjopN+xo4aQxEmpwBNLoT71sw9jJPoSpfpakCbcHew\nEguetAINMXoGQM7PStRQSDhMVfVwIYOiNyobHLt5S5crPSpdnfORoDyvCpLN\nDaIj\r\n=lKvD\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","postcss":"^7","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","@vime/svelte":"^5.0.33","autoprefixer":"^9","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.2_1629346319047_0.33843334624249954","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@vouchfor/uikit","version":"1.0.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"64696928e96222bcaa033144c2105f1e0593fed0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.3.tgz","fileCount":125,"integrity":"sha512-Hs903RXARvI0InvZXoL86gh6/FMLY0wikReBUMzRJNF2nhSo2oeoyeNCnLzb5L9bQzAagmlLnrL3rEVNTYz+cA==","signatures":[{"sig":"MEYCIQDb24/ZghxnlbsG/+FbX1Y0pvbPP41/kKUSx5VLX7nrDQIhAJRhUrwx4W+mOqE/SOSd3AurmCSX2HXHgwn/EZrS8qxS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12482352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHzrNCRA9TVsSAnZWagAAsU8QAI2LJ77fQxwb1bMy1cNh\n6rmNhA1eiixrQawMJuym/pzDfXJHXytCrAcMuTTV+jOJtCf44cfoKexVB50w\n0RU6fz0LD36555sY5xJbLEh2WtDXYGnWrqLh4Q6wFYJKdlxmntxYFyNQI9pp\nC4tKRGUZosHOOZVrxGP+2gOMkdlQq7rhwi5uzS74tU84JEALRSXdbXey3hvj\nBbv9T9xbnbGk7mm1RvXD4S3Jlc0JM1k1B1MdpxvHw8hDJ3w2eV6Wbr9gQoJ6\nBX42umSWTbr5G3ulz82LICOX6HM18JIIMOwlolJR8pCGgPYf32xbaK2ZzDYn\n5hn0GMVKy15y86TkbeDTu9apghSn07JGhjzpd+2csDdnky10fGq8Gw3tOs4X\nsqKAbUjxImYKvdg1o63HTn5XtVvWYv1eGYQ8vzQHHYARfm16A9gYj0LFX5RO\nUChhTRPgF5CkBcwU+utd6R6fg8SM8j5CpUMzD/pqK/9mYSc808dxXOLBDK3Q\nWHXQ+QdnCwtcZK+jfS7l7W3rHY+mHA0JevmSU8U2YYnixakGKN+KL6dijh3W\nI20JHjMvIVsd/uCgDO2fT0dp3fK9A1Xs4CJQY3TEn77VnRgnqwMLUczHzsPs\nXydBZMhK+nTFaQY26vxN4USnkwdRUp0vxEqNqq4hLuEyIEveJ26+73jGhDof\nWpp+\r\n=btG7\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","postcss":"^7","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","@vime/svelte":"^5.0.33","autoprefixer":"^9","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.3_1629436620891_0.3434784738760752","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@vouchfor/uikit","version":"1.0.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5add580a04ecf913f83671ac2d176e222bdc8f6a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.4.tgz","fileCount":125,"integrity":"sha512-bcJd6ek6wVE1OZsmIU47P9F16306MczN9TvxZxwn5MZeUBj7LLphGiZ4XLew4JA1m8TXWfNunb357pvqHeJunw==","signatures":[{"sig":"MEUCIQCVZzkzQpwJXwQPYk4P+hcUEVeW6R2Ctc2ORTVGMhZxsgIgCMcn4oG3idihrgJLvxE15MsVb56QNJ0Ph/EzvqeMWes=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12487539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIw+/CRA9TVsSAnZWagAAa8gP/1azO9L23iFieuGSTlTT\n8HNGLFlvUP+Ogr5hM7VBB+wecHHb7ZkVTTIXdDBZM1DDzJAZS2Gz4i7lfG5g\n9eYyPckrMh2V66g9PvhATrQDjFLp2ek0lHP/KZ7mG0/6g6qrfUyaor8bkQg0\nzAy1sOrDjkMWB26dwWkgHZqHrIQntGUQWRkAQ9zZ3s7RPHPsZodF3TclemNL\nyR7xWnBc9VVTzI5MasBOol+cHEwzaHtKKqAurprAaIIHnnsQMtWEeyA3j4eB\nAiuibzqgoAQ/oNW7G+FlkAYMXDk4iWpbhY0Z93MI1xW4mddpB/JOAqRFo/Nd\njYOevgrykwj2NHtNkonEl0gEhNDOk9+m65RgWutcmNvroPcGX8HLG7rGQeXF\ngLn5ufS9TPpFkMHS0Tp60Vh7wZaihTJV7wrYCH0jQWtoaImuUYxbXrcJ2Mox\n17GYBTDqs+WcmnzTJ3oLpr9s2DeUCBwoM5IlyzAZaVG6+IGv+yQFb1rTaXvT\nmWGVjzw7Kgfl6Dy0VwOFWKezntbhXadG/AASTG3TsTsZtbYFpt6FCMt5Vvb1\nIohrQADrON513yOMMLfuZmH61DYc3M9AJuJ6N5tWo7EvdcX7wzrcTJUCHbE7\n+/Z7YnVu887/8YVYDokG0YkxE2MJj22rgSKsTgp6eRM0vhseugMwy4x0J0K4\nOxHd\r\n=VBRJ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","postcss":"^7","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","@vime/svelte":"^5.0.33","autoprefixer":"^9","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.4_1629687743193_0.12707295162426369","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@vouchfor/uikit","version":"1.0.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e076458a1f0f5b691569e71f4655002844f1f1c3","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.5.tgz","fileCount":132,"integrity":"sha512-fiBjdSXtS9h0fTsSoCqlvrqHOW3KDC2apb0lkjGue/rXgc4NCuXqO9uTv3wIn1R0gVTClalhNdxEqs7aUnfWEg==","signatures":[{"sig":"MEYCIQC8/l+Azmry5ER94EOl6mD3N5FAyt8XgT5RNMhbXsMmTwIhAN1BSp6nl2JN76p7Msyg1kh1giFqxHtoFNA4XGFN0hir","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15292355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIx1uCRA9TVsSAnZWagAAjYcP+QE0jl4adN5KYYgJmclt\nxyICYmG85xIf7ot96nJuhq24Sos4Dtcrlri2FlB1wuJe9UUqdXfEfZHni03d\njARe6FX1j0GXsfceC7aKh1o+8rujR2UcwsUml7W8JGYiAtAxGKNNc4uJY7tV\n9VIccCxEjFc/ROrSxS1J76u477nMy1oxPruS52hH2+yYSLWtEsG1Ufhf8psj\n7aWDpisI95HkpB3m/L1gwJwyVYA8TS8w4cNIRZ24+yLjJ6ZGCOmO0KJsKYUR\n69mRuYdYXcuObipMjLvUicxudx/8ssKpxfAh+EhpN0aeuQPrHRlfLEAtmVP8\nj16uUIUZuzi7bXFoGaIcUCZKuMYJUoy0nkEi5lVPgAShzQ2lGy+9jcue6pvk\npvNH3xLPNGPk8WrV/aPKLfocTqpj3wQ0uVpmo9njYZp2v+5yvoP1YlImaVUN\nlxAoETJxPpyvyapPGS9zV3rW/J3JVO+IiqpaFnPoC+NzpmrIpKIR2s3ukEV1\nccvEQYhwNHqYE/NdL++/nWzzPgywCSN+/NMZGq6TbHJNSAkP1u8YObk2Sfib\n6+pWr6hkweP8ZdnQQvSfh45LuV/xr/b6rcqSXTDZOYCrRiGJGLiwcKuvbw88\nyFeH1AjoeFYBBQ5yrWZWhuNkvVk9WMJtR+7V4djrN23nunQNEiFt5LB/dhrE\n5r2S\r\n=zSx1\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","postcss":"^7","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","@vime/svelte":"^5.0.33","autoprefixer":"^9","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.5_1629691246039_0.8853916345762753","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@vouchfor/uikit","version":"1.0.6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.6","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4283a8916ae48fd7f3710e164d77a388cb7c9127","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.6.tgz","fileCount":140,"integrity":"sha512-NCi8d1B8LxSh/FPjJSyKngc1r2BwGqGAwkPogTbTtKaWEye2Un/p53tQjB0oaNWTXWaWvy/sbq18i+MuHZud6Q==","signatures":[{"sig":"MEYCIQDfZxTbGFkVeG00SWVSq3goqeOOxeJi/FHRRe8v8Y94mgIhAJc8Ja31Mg5YJNWeVLEoE6U7HT2YeMQDUgbzFiY8VIB8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15782873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJvbgCRA9TVsSAnZWagAA6bYQAI+YrL0aR8gAsbWJLBVm\nXOQsqoBmD0cMVsCzWGvtukeV3t/wG18mNkKMpJOgm870qFNVyTOt0MpR/Jq8\nhoGhXHydCnZBAzxJ+ICLg1xK/9g2uFBfPDBC7ytkhmi7C3LDsWEGMWYIEQr0\nIRV9m/i3TKNw+tf88ZzxW224gfu2Lg3AodggRouMYru+MUHUDf0g8mq1mQcs\nGYswf/wM5n4ckHwkFo9JYOt9CJihpzsUydgJX9dH8xOfaU8ekeKVwqnjj3KJ\neBJDiIl3RucFOChZuGAbps1P4SqAfFMbg5zq3xLPxOIHsRWEL478PV3Pl+0j\nwrbcFjrXqnLPlzT5CncO0vqcfdptz3SuFEzQG0oTI3Tj0Jc7Hi3lPNGuz5v3\nC9lgDpUswaJ7PVxybmaUzrZK+OVWQ+kePmkJEdQKke1Xuhue804JGyPNDU0N\nr0+UtBXJIYM2kN2D4al8QFTnRrj5AFcVKcqOMlszIsImgq2SQwfsoHwY6ueb\nGfZf7UMAuQmMlfv4eOtODQCaMyP26YRBAR6Wwd4x2RWrCaUN2a3fG3srAA+F\nJKU1LN1EJicBvCpLVJqhgx6WIwtHrEUM4OGAgznkzl4KvUbBLJKE4ukGKCjm\noVjiIwNKWAem2BtQlucK5RzdObMTg+ifToQmYRfEG2U2uRBGQbbQ7yjyMEpD\njnB2\r\n=01F+\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","@vime/svelte":"^5.0.33","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.6_1629943520105_0.026426052735785355","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@vouchfor/uikit","version":"1.0.7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.7","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b9f39eb04a8aafddab5836fbf0ba620c389fc292","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.7.tgz","fileCount":140,"integrity":"sha512-8CfxL8k2d80BmghP0GcdPtpZYgFS6TAKrW0vLxK+Dp/CbjzM8ciM63LdakbMPn12vuOo0I8eCZMbz9+mZ3d+cQ==","signatures":[{"sig":"MEUCIQDuTFf5a1SW1KQxZIOmliK+XSt30LSk90pqBK7XuhR3dgIgcOFY/PIFHuLSH8Xfw37W7dQDK8qDt5RXZ1Mxi3HgdDE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15779463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJ0fwCRA9TVsSAnZWagAAp9gP/379OUJMHUOznqK8P2Fn\nPb6+lRV5OXkC1HZPCgqNhBxulem164jjOLKVJCLNiiJdjiWOtfemO3jlv2rz\n+L/iXFokIerAsastkHBP/u3JdRlgq9Y3URs0Gyfk8Ph0oP5lC3wPCDAZrees\nmOTGiez6GjABAJFBmZ8SIivEULG1iG3pDZs7aINbbGwmXFPVkhg6P94ORKsC\nYe7QPVXiyYMW718wGby2p8gnngl41a34h7mg3b8mSQAhKFi5pUBvXDYh+UBP\nTpsXzTuvloIG84qmfRJ0tLfl3SFULQRas5qrSZdfvW4A41tq1UYh1i+uGbKP\nJF1CxnSas902A1J2RPW02lGFaCCp8urFYYdr8AHphDXPecr354Tjh3LIzxxq\nhBdWp3H9PwjxgMWIrrHKWqgE6nz2UdCKJ1GCKSmtp2xrsBbbQ6es1tfwZ/QR\nTA44ZFFuyTHWueqkgG2UvNFzt4YtJkc26aDp50MdS4HPdo+vftYP4Kmljm3p\ncCI1F+8d46ywgzK/YEpKQ5Lo6z2RHU8QEhrVUDZgWIMVekE5a+ReDlfZDy1h\nxH7JMP+4Ltoj801PIjuyxX5ka8+epqCAbqOE3MWHjg4+biaFmBSLwieIOEa7\nQHFR7vg/0/7aS23ZB4RoODjjX3CvXyLqKznvC/M0UtFah4J5Bgogn1ekMwfs\nloXY\r\n=WQv3\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","@vime/svelte":"^5.0.33","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.7_1629964272344_0.24274212755027702","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@vouchfor/uikit","version":"1.0.8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.8","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6faaca63a9e52ad8058442794135a97e241c8227","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.8.tgz","fileCount":140,"integrity":"sha512-ptn/SuJXuE8vBdS7hCyKcnFE2jr01+2hcLGNd6THHW9W077Ysflta7rNp1dr4iXExBb9kcoz5Ax2EgssXQ1hWw==","signatures":[{"sig":"MEUCIHPmemEzR/UtSk/3ee4opuhqnBHgFLODinyMp0KDlvPfAiEA2CHcipaHU2CMGvne5aJwehpBrU+YNzqVbqSZpsZiZVI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15778066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKD7rCRA9TVsSAnZWagAA7LsP+wWoee7JwuHYrauOYQ1u\nJS75+jedBjUqy4pN9UNw8xN45JAMXwNkio54QFvE2HVzVxfH0Db9Khy8iyTh\n3lIsAbB+Y8TmZnqRiL/ZUaVKqBL6s0TCvJJfAL4+2fuD+N8eu/L/qpqrlE7M\ntisuOehPW4wm4jwV7EY02t50uVFbXM9EDxruItXe2GNeVqOmkJvnyQU/I/29\n9TAoqx+j21Ns6i4UteshXPayK1L0STQPf0yLtba0ytcJ2895RHe7TOCjes4r\n62flLlfsGF1NsJ+Xkc0hpO9eLeT0we4hJiozcdDiUYrkbdMZjOnCR6vmQ4I/\nH18N6EwWcO7TNl4BkahXXOYZFw9f2acWGIbI6KNV/lRNrdCHQ0Wf6Lll4ddO\nyOs/IKDZ1kHhSygLS+iNq7SqdkT3SeyHhNgp0kadWBDA97usOptC9B6qX+uI\nIgX8kVT1HvWYetibkK0HozHONULibT7Nyw2CFArQ7xXEGO+DOPT/TPsag2b/\n/NfAHc8l1KaDMMn4dY770/2U4Gu6l59LEJwKrr73EsA5F/jW9OzR3GK16Jh0\nGlwZYi51y/Dn5EaEOwNPQ++s9fI8tYX1INv95DubsmASAJSu1000xXnK+JEN\nSqg3CqWq9y59dZeA6liN7yz0DTyGZpu9jn1dH8unvR2VRN0iCa+kKx4xsEyQ\nB2vm\r\n=VzGQ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","@vime/svelte":"^5.0.33","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.8_1630027499331_0.358932251154898","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@vouchfor/uikit","version":"1.0.9","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.9","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8c23452506638588745633e26b4f48ad1eb852d7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.9.tgz","fileCount":140,"integrity":"sha512-9RErsXjdjc2pkjdiVTqSlEj/qqRxmZMo44q+RFHNqztlqZ++DhUqGUGnRw6nqXfDvnmmvM/yzf5Nj3AWYkuu8w==","signatures":[{"sig":"MEQCIBrnJD5kJ2P7naZRxHG3Uf9h6gtc9wd2fcM1QweZseg6AiAvoudU/gyvGOv11ds+S8235WdgAL+6L2y4U029/phYxw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15780944,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKG0DCRA9TVsSAnZWagAAiqgQAJ7HGHo/IJQZPm92dCU4\nUiogj3OmHJXgN8yzqsPcGud3UdVETJsE66P4iCd5W35pA/GGUaA4tBJKbs3x\nho8KgAYm34fSFf0Zikq5YkKZ2GQL8oZoNx0wDTnL24aajX3hxWGivFMp++0a\nopkScXVuJ6CMUS8eozowIN6Xn0vcjyeZHQLZUCIdrtkhSH2B166lk/gBwhtN\nAC4kYbhfDiyGy6341+46gQvy24eIENNg5Foio5Y8tGV66gHQ3QSdingo/UMA\niVnjou/vIyziuN8Jdi6JvmbF2W8CCK6hBPoEqDiX2x7/obnTbqkojhicuKwv\nkSKiGTmi8GSAYu1OyeW2hEXGDee+cpOmiVu+KtzDOefKWmtQJppzOUp6wxE0\nr3YgC9pmJpDN5avP3ldwGv0RjMu286rqhGIoWjzUcwbtrFk/3Mbr0RcAXh2k\nRnL1PRqBavnm4vdMWHbEd+Z0RJdl0Eidx6crtc4YNTHMlIHswvdoZTPKiHFJ\n83dmq3XA8iJNAhAL5T1GAcZDSdS8yqWQ7U7otH1jgIR3bin2coOcq5TelFS9\n7fIoXjGN7aY2BD/ugGFpizdp84ENYU99HasV6VHGMLMeZoMvLDB1XaL0xkaP\nUw6LPLEK7NA4KQGMf6O5KvnQVdBAyI/86AwYuI0PZCqDe27tqGhwK5irlZ2Z\n+LMe\r\n=1R2B\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","@vime/svelte":"^5.0.33","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.9_1630039298829_0.7875204295087965","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"@vouchfor/uikit","version":"1.0.10","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.10","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6959fb8ff65d78eca358df2abe76854c6ce891fc","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.10.tgz","fileCount":144,"integrity":"sha512-x+k3S3oufjva5/bArP/phvAo7Nulx2fNOMEgD8PO/If0/cfXFOOTWfpZnyVPyp/bZTR4fbGARwJa8sYgHDLv7A==","signatures":[{"sig":"MEUCIQD85hcmYM3j3vd8R2slE3DkTkP4gYv7iYpMfBLw08E1KQIgX+Tva980Yapp+4BKGcuqakvlI8t8m36ILhSCq85jyvw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15866598,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLJKhCRA9TVsSAnZWagAAwnEP+wV5KtMNkvduEzu4lnHU\nYUaEvyEBL5Qmoawrqynm0JThgCY7eCz5aowABUSphGZDD/PHhRD5PHUslDtl\nGEGRCAMdUOYkOhF4DPJ8NiscwyC7krF1NuP3fWY5I3N+gq4F7gJBoQ0XY+z5\nQcHiOoddXKwa6XS+90oIAY8AeAYrcvEj4FpSK2lxL3Emogz11kKMUUMkqXAE\n/UzJKhcgSSS2g8gUZNCYuIB+9HoCJDIV3SrQPJVZWbfHGmL+g9xO3qxyzNg9\nyJEbrUGhm3vdbBq7z9CAtxSWVMPQttPTW7ZBr0HOPz0Q8B5wkirmNLDY3uxG\nIJQX4ULHmKndSy5aNdyfqyeagVhAA2g0T/0JX6znEFWV6Mi3vNoguLgULRNX\nK+z+eO1oGBgzChRKMnPx+dckRDTkt0V+Uvw4YOUbI9bf36W+s6EDrF3G2xnN\n8CD6TCS9oCIDN4bIyci7vWZ1piRzGe5txi4BH/9pqt2zW1U3eRIb5tbONMPC\nA6hzliBtu/fh/V7luLvdNL0AOzPwRMg6o92KtKKDVHJjbPHNmXm195nVirXF\nVmi4p0U4R51z3lilhxhbY9Ck1uN6+7bUYSgTnv4Li02DA4HrmMIoxVbpq7rX\n5DPyk/OuPbcESBpqy+jutefJRg9NAtUk5Yd+DoWpWA+d7akP+WgGhEMEmF2y\nb8EQ\r\n=0DVS\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.10_1630311073596_0.33524038449366955","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"@vouchfor/uikit","version":"1.0.11","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.0.11","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f3817a3b4d2a5f3004e08bdd30049b77bdc91e48","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.0.11.tgz","fileCount":144,"integrity":"sha512-uGTE/kH6BC6x/orBuu8gQ616fFs7mE3rZ7IqU6FuHANVGR63BQYTUDOsDH6Qj8URNigTtJYfHHyHdR1X+AZCrg==","signatures":[{"sig":"MEQCICdpDT+WYkyo4FqfFeIZEFZaAWysSALUbjyE3sEkLUdcAiA3uU5OOP/ogkFBSUtYPMaP2tK1K4UWJxob1S3gOMNvoA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15881613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLaFhCRA9TVsSAnZWagAA7iMP/j8e0ZyQ1JBwHY/Zqd5v\nMXBC9lYPgE2rfl3LmJANbfh6uQClSh4fo/r7YhlZzZuZEWq432wN9nIqiPeP\nQq5eXOK9ef0XCdh7aoX7uyQda7zLWPG4IM9ypWf4Kk/nmaLV9WwaUokjJSuM\nALU47eGqNp+rSOGMcIdhf8ZYbqC+5ypb7Y245BMmO2zANSTw2aUvbCtUwxGj\nf1KYm5g/hAN+l2KDjfqqEOH5oaoHTfpynXcwjZX+K5r8XEnuGWByLv6bVGuD\nKWZBqDJbo4J4YtQTjJsTH+3HOfDlKx+TwN7+2PqU/b4oOoAODLHePybTEJHs\nK3mrO2/XK9pxG9FcZtxvsgInlRhoICxXs1CZouHZOqsXNigbrKsYEqLNT7eS\nWCOVCanqF1sBowlmyXTtLHE51MmEwmqPnRCSAccpUiE1oaAbPvI8S42rCTBd\niyc5CTCZi+Ir10uUC/BVjiy4q6VXvjAf/UA7RouOsr+HOssjXzryvmaovfHf\n4vU2JC8LzlTA/KOWvxfS2fnoO8qq5dPlSWxdS7gpmQZp4HYoMw6gaxVJRRWZ\nSoJ8JYaZ5cuuG1NuwECtAH5SZPY/z6vfAkxqEzVgrMgIANw3NJSu/c+aPp68\nazfiRpb5AD9z/FxMVJwbNbROUnfrELG2IFolucqexU31ApirmzVyYeJCJ6hQ\n7SXg\r\n=X7lL\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.0.11_1630380385603_0.8270658540430484","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@vouchfor/uikit","version":"1.1.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.1.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"551dc05ab4e9dd267741abea8b675fb9085c4f7f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.1.0.tgz","fileCount":144,"integrity":"sha512-77g1g3YCDs0pauC6u6B8hH4C+vUOR6hoiZqQDEHshbyLk7ia4fsCr25eNg1ZnlC3AwTCBrrj7/89kRIZLbrsXA==","signatures":[{"sig":"MEUCIAFYXiftPILUCFs+IcIfV4FmjSB8SlIt9uKRpGrCa9jgAiEA2IF7jhHBdkGhNmYLW/q3lXLziiy3LH0yLiGmVOAy3K8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15905724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLcACCRA9TVsSAnZWagAAirMP/RtsNkvFCh+HsoQmgkkD\nGpi7wcvLetWBL7oBpg8aiHsLtefDLIJxCFpVSbxEV18drVp1tb1/QAoGFRGQ\nf1vlmUdbnReyuACgoYAgn6/LinR+scC3lt3I3kwhgH/6qvwtO/AIo+wdoiAC\n6qVZ9Ls6s3l0UaiP3HMJBBlUhgjO4t3mpRemET51q6Rv+Epq+FRBR9ADVJ7k\nd1vmZ3Q9QOLfZUvK093wSTMNOXZKEjUQIP5vB1fhjSu6sbd5q6nNQX1xs9PF\nFObgjSn4V+cPzPLFV0aOJvU8gamZFoXM2Qv89CWHSPGF1u6VTZsBZqanB2kw\nE6CEIgaDPW0ZwZs3MhZ48wgqTjtW6R2w2p0XEUtynDDip3UqHcQCKnY5LbpW\nEi16OkCeI1cXETTPe+K7uEQzOQBHy9CJLM4wkm/OE35BH8YadBC5LSqMwZD2\nTjgW0DptGk47oBC5jcKR5CmZRQZ1+HvJnFXRZMHCKjK2CXME7T+gtJSeSAm1\noChAcFPJ3GNeEW9cdfb5nOrIUiT7q+urIN7zxhZq+BtxmxS72hQ8n7hDaJk3\n7I38385nKEhnqlROa3NIoZT7VV/Ri42HAbkw+xas8AZ+b6TRnO2wnwk1gd+P\nujovWzteooKDK8eBWjyobkzD4BbpinAG1/ubs0DEMJRoJORdPQoAeEEl8KiO\nrr7G\r\n=WM5o\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.1.0_1630388225789_0.5049268409029091","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@vouchfor/uikit","version":"1.1.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.1.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3d194cae8a1ca54b45942a53d42169c4583ac011","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.1.1.tgz","fileCount":144,"integrity":"sha512-p/qui/tfvzTU5H4xe2pTCH+1+pXlwSVmTqXg1xoXZ/3dWG/xMqVBkVVE0v4Qe2mRrGG5ofpeDYrAtd4OUKXG9g==","signatures":[{"sig":"MEUCIQCi4l+iXpZ8JnOqg1ELho40JiS7M2fTrR+hssrc8Fx8HgIgPcJLXc9SwmVEmQusgXXvlxNFJCmiCwiWQ91CurERwX8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15907676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLcqmCRA9TVsSAnZWagAA2fYP/1HBIX/bFgA9kvTe78om\n8OMCakJ9POeFDauuD88a/azGXhbd8BUbYCxmASeAuaEhVbnje1K6NgLFgG6h\nKwdArzX6VRpYRN75OQ1iOQEUFQthFcHgt1mVR+s9tTc43fgHih2tbZOvXnEO\ntKcj7PuWjvsIhbUkAPhrjprTF4t9E6FZCW3nLrsqx/BtLlB0z2IdX2w2qTjn\nNxtNOarUB2QSjcPr3NBegHh+Ie19umyilyOVkNIJnnto0nGvpKXYOakJ/btE\nsn4ZNFGRcKQg2mn0objxsP2qkGjT+lGQ/BSB/xkz5Jn7ZEDUFk52JdJ1y+G0\nPRTyZ56D88H4MED6Un5NugxmareI2INyDMIgeG8hJjOKDC2Vz6TnsiLW8YBx\n6XJDPGl0RRjdaN0kiUwiIgGanK7CS58Gkl+B1OIq31MebCEnmNZKOTKHO+YV\nGjru14chEdDm1dHmqAB79xFRbUcz/7YZKWc52hdUhIwuU5lLmiZn4ULPRt7F\nkguop8KW0wbsdLjPVgYMQOUDW5xgiE7DdrFOMnhbdg0tpkHighzC8YE4wvk5\n16Orn1biXqgV3dA4R8W6AVH/9WzpiUcd9BstH4Zaoc00Z9dKh4DZVT7Mcurq\n1JNuff3L00BQHXSnx0T4X/pEVJs53rGoUn7E8yxH2gBVqK1zEe1QQVTBNVU3\nA5Ss\r\n=5OKN\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.1.1_1630390950382_0.33818935733909194","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@vouchfor/uikit","version":"1.1.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.1.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"461ecfbae181e7945362cf1a46db64c44ce1ede5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.1.2.tgz","fileCount":144,"integrity":"sha512-xarzHG8ll66YLgA0soAMU1Wf9MU60wz2QxwbuBmbZD1GQ/BJnGCBdvMuK8dFXAUCHuWOe8/Zujg5Lxw75D6/6Q==","signatures":[{"sig":"MEQCIHl774blLXZZC7p2r9+9OmJ8G+GyBaSN1b6CJGNwNT0sAiAOvxzihF01W25HnVQwaZzEa7jaL0iBluDZSIof9EMssA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15906969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLeFsCRA9TVsSAnZWagAAYf8P/i2GBKu+bAk2rM8FGcPB\nRaaMaM5kiWspuoX0K8Wd51v583gZ5dARN7FxsIcYqnbKfe9yT2KevB0jckfi\nys9sTTScwGQB58j4dQFE9rfZJ/JyMZFqGmIzWQMPQhXFWmyHTWe6WVKr6dZY\nXhQtqR5J01LT7bJ4Cx+0c5GdIgfKN5rJkbpQrhnhkfLFTqkRrniSEX+2KAcR\ny5NQ0hpuPhXY8Xj4ArqH2Pd42Cm+FB4ip6qvkK6DpbEyHJAnVrduUbZBlKgy\nWHShZBiyBYrp2//ptZmp6FEzBjpSXhBYdLDpJy8FRm3goSvbHXVpH4/PWepW\nkrunYVUYUo4xAwWVaNerJh34ONzTiTvrWVk2NbaYcLkRFZW6cBT6W9uVKt1C\n2MtB5nj1PISh3goztNQ0m0Z1LGwum0HKj2GdoDOl/V3k1V4Owwv3uzzPD4ER\nzifkDVDZP15Xq6nFqfj+JPz5vnf42whoMI9JTtsPANIPXMJCXoKJwWshDHdL\nGE9zLyUEp+CIRB8GCqMwfJwPiRUe5zrQbRJdv0A9xrDIX8UzcnZz39pvUXlo\n9lNbnW08Kb+cVtZWvmnKlmp8NnFitLVz3IT/0oLSb9E+2RWDqX6MYAhi3gAm\nkV1zGp/vBJuU3pSYYKwHx8ZQRWYkPjaKfONeRYj5o4nqa+Xqrg3xBpOruw+F\n8qMh\r\n=BQUP\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.1.2_1630396779790_0.7519862185330546","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@vouchfor/uikit","version":"1.1.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.1.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"9b9ba2113472b069479a89f2c10b79ece9d623d4","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.1.3.tgz","fileCount":150,"integrity":"sha512-QgTInd9MQ4A4lRLpOsvCbiEgI1+g9v1D5Yt8ZJR6jKx2ysnZ+h+8ZPjX/zxH6vM41qdiUYch+XNF2EYiX3IjbA==","signatures":[{"sig":"MEYCIQDmR5OWISqn9QscUEgYLtEb451tlUvFiQ5AtJGM5M5GtgIhAOoJQ3mGWF8vS8oGUaqsgpuS92tzOS1RplQGIEQdDi1f","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15974655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLxt0CRA9TVsSAnZWagAA+04P/REFg4E3yva/jeZ64g3S\ndH3bZWe+U3dJnIQejok6N3tvfHGbd9xhaGK3JFTNuJoqkGZHAQo+MYIyQbCi\nDHmOgtps2HrDMyxz48GNVgmhrQGjAHYaTNIJgsO/K+TAGHLGcDh6TvR4w1is\ng6lbUiwyLdJDidHEGhkoSLpITsvvdjZJQbk0+iiwK6yRVJTgEBZkcfvnINiz\nIJ3JK5vmB8Em1+cZ1+KOD1LvXxXKV6anVQKVg+Z5qx6XoWf80t87NsTNxGAS\nziwfWJolZANo14yHA8572xB3o9VyMlBLUCM7M6zzQQB+dfI8u5JkPnqRqefS\nmOQZMf+KpPXo4JmBwfN042JXAriQQE735pEqqnaaEFhDbTOTncEYCqQwd+D7\nawuFg6ZBc3cq9ldIMBhtMHDSdNKJO5ym0Sdr8WdtsJbab1OeIAXUHJdBw7Jj\nTh9ZG7wSRuV6uAzVcko2TjtUBxU0ggoyZJYHBjmpqKjAHlBQ/mA3lmXmy3A4\nXBlYVsA5oDmLNHkbpUnwr1hAFWUhFP8qgKXW3koinJsu/Jeo8n32EfMQVa6J\nEraq2scEft//B22OI8VheonhUOmxS9NjavhtAD3V+ZzuYS3HZgtle49vUXNv\nbnVnokB4yKt1Hk5Qp4rqpiNc90mL+3JAUyr7gE0KpqCeJAi7VCENjY/gtxHV\nZkAk\r\n=rkSQ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.1.3_1630477172452_0.9240850378700864","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@vouchfor/uikit","version":"1.1.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.1.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1ae0f1b6900a49e23f36db9576fe75bfa2725699","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.1.4.tgz","fileCount":150,"integrity":"sha512-lu8fCOJ0XZbf4RAC55znFur/Ed6v5g0T6D9xUAbNtORerz/H2FM5IyaAD9fqpZDfQoov5YO2gHEyKTauv9jqAA==","signatures":[{"sig":"MEUCIFJLo00L9+t0XxavrxGp1brt/Om4BXV5/eLH7nRzgnBKAiEAonb6NNcmLm78HpXxNjJoKFyhJLLe8H6wiF61hWHEcRg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15974680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLy2cCRA9TVsSAnZWagAAEF4P/jf/ZdTQ3p1wwP59O+RB\nPcGJB/dy+yhGNuwe4EHZ0FdHSYbqWt8zS8L/G3Kgh5HtTzWFjbYUBbmVK4h0\ntn9DmurFyXYtFl4QGm5MkJftD8gZyy1DLpxJRYsTYsX+z4t+7BDnrAs9CH2+\n1xTkBN5KVLCVt1xEwkdzSyKZnlGK7Cd/hXlvH1beQ/ktQyHRCLxkStr8yQ1K\nNTgStONG1TrRkZ9hBv0bW3JxZo8mjf13ADdFrU9RTTALHHcY6sWeGb/YAuNg\nszku/1ckVraHzfUYY4BcA0EaHozJkxwe7rlf7k+tU5H4FtxnXBvbr33g6+KE\nFx++FsRAQpGOzejPkUcOpMd28qJ9QRfMetPmPyPYPiUUDaBkA2/hDrAiFGme\nhCG6+FF5QZpC1O8tvIC+BlaHDfI0CtgAFd5taOr0V+yQyL8H1oQCwwA0x12j\nLL1UcDezY70T3u21yghK6Q+LC+OGL4KZSVKDHRZXaT3FfUhZMUQPWJNxCB/v\ncXzByPNWzxTMBaSuWY0WhVft95TJZLy/78ypIDa0MRc+FIQj5+MNbWchdXO7\nHK80lXJpQ2czlgg+kaBfhdTHjBT91YjVsIQl+NllubUa+bFn79aqjGDaetyj\nBpaw16Za+eudCAwrWf3DJW4xCcN8G1cjzXDwj7/g9D6S6UFmP2yUtxRP84gR\nyTAC\r\n=Cf+R\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.1.4_1630481820291_0.42860444454996105","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"@vouchfor/uikit","version":"1.1.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.1.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"471ac2f4d45cd08e71e69f3f79940a042057469e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.1.5.tgz","fileCount":150,"integrity":"sha512-VGemhAwyQfN1aHbD1o4vAIRmPtlLgJq5nckSqu5A5GYd+wIH3VQ8j09+uvY33yaQE1+bQiVqYaEg+kVovqlwww==","signatures":[{"sig":"MEYCIQCVskTo0/zyIT6GQudjf6J3PIbYMae0uEmzfX85QY7uQgIhAPW16EIREUv5+O+mOpyC4fh+UauCDpdib6KOCBsIwije","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15962040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMBKiCRA9TVsSAnZWagAAC+wQAJHzLCUJcFcLjsa/thpF\nHxsSHqnUL6fF8tbKpb00ehFUsS1UnCkSW5HaMRwdcVbhTR1ApDSNrdKRhaU/\n1PBdr0/y7jr8n/zZmKfm5exfZ637UhqAgtjN2oYH0PcxdeYAbhigKA7+BLTl\nFVcsdSIPTBEZQloOBIOjAejBmQWYbaHE+J3IBB4Ieko3kQM2UeLLfrJfewrA\n6RS9iDMRmmYmoqgQs6K9V4wnAn3uUtowzGuloq9+JWlD9KCKtuFRUpcM1P00\nz73s58vGDJ9OmESdVB2K5YcHDW2o0xq9YxWk9YfdXj8n2jOtDZTjKwNNb1Ph\nTkIHo500GJXDaKuCDF6QufdSWF/Uq5sHOkQUKUPAgElU0jro8+Rh320vzcv2\nJ1eJ1nldRmU0ilPdfitLf6JOl2WwIez/+MzYqVO7+CEUPnYknfIqjvtJ/xtX\nhZcJRabwh8bjfDDvyaSAinpkcRbyd8edsRI2QI6YRvB8i+3sZqP146If4Wu7\ngPzuV/jYcWVokHUcktvqFaxf41TEMP60mPpEPhLOwP3gzTBnUlv8Kc1DojHm\nUwL4WBz4XN8BENvM01jIiPG3YpSjBdczQ8bWSdVNM0qXepGWfN/R6Y0PbqoR\n9m1oYKLmT2LmAX4P5Ondxy1mZ6KX0aC6voZdVr1zp/gaZyE1DsPzBYPLgHMt\nYJU2\r\n=Ko//\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.1.5_1630540450507_0.13046735192367298","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@vouchfor/uikit","version":"1.2.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.2.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"9fea85100310132c7973de0fa2ac4bf2d250bc37","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.2.0.tgz","fileCount":150,"integrity":"sha512-sYtYOQtyu6lPWU/hXbeRWCajkhBpXwz02Liu9cFTeoS1h426E62HEtvoIj08RFJkG+J/pqtAV8hCka7Ph2oPwQ==","signatures":[{"sig":"MEUCIQDnrJwDSsuZMHADaCpEPGS+N2EUxijxM8uILqFFxNetTQIgGv4uJSrbn+Wm7YW0t4BvTkJGZ4OnB4OagfaxFVXMVW4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15984490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMBN9CRA9TVsSAnZWagAArm8QAIuEMNPlVcrGoerhOfwl\nG4MhElZai8hnSLxfSkZvJnpabYiXVQEr6ggNx+x0squ7QYXOsqc2dyfGvL3c\nehFR7EOOtWFMzTfFi7WrClwoLEnlcxiZKcSLbFlUSwRz/fbWPNu6YgtSnVqj\ncX2aZZNgfsgg6/ZzjYoQC1vzF0QhdN2i/dSLhZXJhp+HHP/X2+EopyElYQw6\nPjjfx8ZxhiD2wrQKcpUS+iINNcMDNNlYI1dWCzfzx2z06Hgji31/stQGg97g\nw255pgquUEgrtDieSXnSXTDy7TfnP8CGAjPaonBEw2bwmdQ2GQhMUc6zJp0L\nIOtEQKsOz/8ufXKmZwoqQqs3Gj/DReBcdJz+ZweyDR5s+M2ooyrsKbe7c/Q4\npFPtb+jrS7NG9fEkcMlh3Go8mW5mnV2S72RcpZrfdp3aVoVzzfI0cYuGBPOP\n4ZAIEA0N3vgnlfGhMYNL4/9xbEspGLzS6IT/Gyhp3P37wY207l4ChJzoPc7k\nU8dnA3ARyp1lDb6aGtHRhJEZFictE84hAXvnt5OxnScOEOT6LlxG37ameQHQ\nyVAb4O9LGcrgBXJmVNtlViANobsYfvscWDsJWVyFS0NAcZinqRlFnM2XN0dm\nUj6bitRUaUQU1CQX+cad3EWwjyXEorwtPrac5qvCOAF6ucnSCunLQ5Tg+SV3\npbf8\r\n=nyA9\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.2.0_1630540669604_0.3231998112256329","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@vouchfor/uikit","version":"1.3.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.3.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2516cd6cfd7030f46b9dfcc5a9fa55a6792c3c61","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.3.0.tgz","fileCount":150,"integrity":"sha512-ZCGK64IKwCXA4Js7H3wvV2tUkbJrsMCjZe5fzTO/NlhStSGcUTsI/irsmWvZLucRBWbEk+ZsEk1JIJAYtElpiA==","signatures":[{"sig":"MEYCIQDxMPpytAQPQ4xOSP6Us9OdSRZncY3kJoG7fWYqELbsdwIhAPfTLkU9BKbrJoX3hI7O1DvgaL0lkqorrR+K1nWtClNE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15962040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMBT8CRA9TVsSAnZWagAAyLMP/2OMsbcEU2/lrfcPeizG\nHiwz5vEt3OoITva6a+/mu8c7qioDvH4da57QijwtWGUEbErIQnja0VvzXHd6\n/9rPR8bnHor6ImMw2XiAOq9+O1Ir+8At+L9y5CXOi3eNc7eRTIYAPsVJTfjF\nXPkZIAzQaxTXqmITkKingLkrLfEfw0DlZN1n590yV6qllE8FlrnvB3KB61LX\nh+sUDAVOyA/+YTrrS+9TbxFVt3a3EFlUGo142EYCV2/ZeTZ3GXS55vy+iCmt\ngBjANsO4DXwG34q5MD5vo/TkVEhRFuwug54U6Gps33jwPvwUfYrhS59+srG/\nNbmz7iioFvfDJ/uWg+wsxAHF3bh6RfFslXqEkebJQvZAFYjj5A+1u7bds755\n2U9VBxuOa5bLjRmPROrMJQTBgVYQhspTdhWzBFW+Dg1gEa72Z5oylU/N3ywu\nyKQVv5GEVqAhmvFgdUvpb2Pa0xu3TAj2cEZfWdPVT+v+KfAXfx9F4TVMdPRm\nBmqx5gLywt+ySELf3iYO9vizHS3WYysiVGDq6z8eNBA9s6WOvkQ6Lm0uiXnV\n09KDuALbgNEtPgS7IvmxRJNQ+n2z8iCkBq9WA7uHxpCFFfo40UXv9lz5sTHz\nZ+l5shc/yVdXLSOKMPQbR1BU8Jzax0Qfh9cnFpw6gEC6SX2mph4C3VwSdLs4\nly4w\r\n=Plvy\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.3.0_1630541052016_0.5164380623267608","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@vouchfor/uikit","version":"1.3.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.3.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8ac0e77abf1d0c61f05fa84d5dcd9a95ac8e8c3a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.3.1.tgz","fileCount":150,"integrity":"sha512-q6h+YNlWYS4QUpEi87u2YrEUuMBVGThC1i6Bz0ILne12P9oEDahcbZdZTZUsMjDdEU0yqkaoRhDLZcg6p64tDw==","signatures":[{"sig":"MEUCIH80MXbRGb+Puz0TZooMXmFMaSxYD+BCTe59q6tgB48fAiEA0UlK7WB5zTmV6hr9MKv/9Po4I1w66LdxYq1sjhdyO4M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15984586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMBYhCRA9TVsSAnZWagAApqEQAJ7SLFYyCxjD7Mqoz8jI\nKvf5EnzydUJ6PusSnaeNym11O9GgsFBOHpTA6kpfPGKjiLzAy7PlTaa9e3gb\n02QLGIgd0YfmfOZ8tYi53zVa+XaJrw3Qp5LHAwM/nOUNy618e2OxR/JCiHai\n2CbiLCSuop7mRv+NLWMBmki0n2IR0zw0goMA1bTVHITEmLSmZ/8q9w89CE0F\nMWFyCQPqRK5ELFgPr9XwI/yY7DIxCjFw6lF8DBVJ2nj4m0O8jWi4cSod3ugM\n4iZLYb9bxyPSoPb0MjJPVjWBRga8RiZj8tWyIGhqDPRapUl9yZTgncG01kOr\nl23YQWDamlajs22fQchKWXKQKDWjSdamSSkqHBRlT5r8nJPFfQoNbG9KAJ1Z\nvvBSe/+izi0zHXP5h0jlni7P7HWrOCsC1CspnalQkUZD1V7nhRPFELmOZ05B\nU3JhTFxErAVwkSq3J4iMkpYZaPjqAyDDr7oGgl6d4A3qJmQe9K5pyrct6bxB\n9sQA3zYaCr0TrQIfdzM+7DJ+z9hDUg9hqUK60Ljk/1rHcHGlGejGTWEnOJut\n1gbKb69UQPTsPdewdn7AIm0Tf7z5alZfGc++G8JAwxyhn8Bfu3iKeDVOpazg\nbrnwFhXHZ0acjWkJyOl1cMvmRJOFFIYGvoTf5HpvnlAJX1ePxzjBEnxuuZOf\nj8B+\r\n=ui7I\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.3.1_1630541345437_0.5287556584468849","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"@vouchfor/uikit","version":"1.3.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.3.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8f14cb3f87aa7172e02c49e1ebbcbf67e184eb0b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.3.2.tgz","fileCount":150,"integrity":"sha512-qSOFu/Sd63GZC8tZF/tOwy6HjpdU3pbB2Ic7ZAFpzoqBOtqCd3Flk+XbwCytuSKtUe4oceJb8qDk5wp2mXojWw==","signatures":[{"sig":"MEUCIAi9lww5SMc24MJ+buUXTYKQfHxS14X+e/0phN/UMGuuAiEAj0DidRbAgBzjjqSGSBCRM5sQTa0WproIp85n7MBOt9g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15984490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMBZ6CRA9TVsSAnZWagAA8jAP/0REdTP4zjUWFROr16tq\niRX5uFl/iaRScZQTxuKndFfYQ76+i43eSM4uX4nGVdTa7y1QzM8QTrcDui7y\n1oJodeAuBHiZ8rv9mnCTunGbVpBEvrRSlPSYpti+auAQ4hC+vdxfDq09UHHa\nxhajXTOd5+52hbxEsud3HH1FzdYgRWIxnI9yLi8v4Hw1tnNnBTVsilyi13xH\n6W00FA/L4bRCleCBt1fbYPTWMxPxiVOoHSZpigyDbsIvyE5/eXS6RnLQLH0n\nFMUzynXWkE/zA1g/e02xd6oRaGS+I/hZ4yihpPmBZ1iInshMDE/CA63F3qt6\nVPx8yCXXPw8DMIrMi1IAN2wDueSiQzFo4UoKcQBrsAHkkOXsgZzZmiy2eKhK\nob6ZgYh0RwGHCKHq/UfAdbVBgt/8XKCGGlnY9S7tZYpcMDBRzvsl4UW4QhJv\narjYBt8Y1pSTSXkRX/Qw7RZuQaTxzhOWG8aKHOzhII+vPnoFKw5GU2IBjPMu\nHpZ447TrqIhWp3oVz1xSfUIVfiby/niIWM+CvPtFr6DS/i5ZZC1dmORZligG\nGYzWeNkuYyG3XRwjqD0k0T+WsLKfl2FnMYNhL0TA1ihaexy6BDibn3jU8W8E\n0mMX30mo6Aq+rolMmqXP8Z1uAc3xubjScCWyaqsaokUadgSkcw+kkZkETiNq\nQGva\r\n=i3YL\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.3.2_1630541434461_0.6103113536639073","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@vouchfor/uikit","version":"1.4.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.4.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d02bd4596bc73bc9ebff6db423f1fa79549afa1d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.4.0.tgz","fileCount":150,"integrity":"sha512-YshBwAAGVQqVcu4KdnqaovT9FxACNPVdeDYqEDlcUaOlczIqfN5n2yZ5mhURZaTHXJVS/MRM8iPbH7edWfJ2Cg==","signatures":[{"sig":"MEYCIQDGBX8xuR1Ox2z3MMs1WOF5zzI9nXeexZhFPWqKhChWXgIhAPUb2X8wJLFoK0l0Oyw28vKar5d2exqyXFNa74WFs/7q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15998287,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMFURCRA9TVsSAnZWagAAOMUQAJPuwlO+mUyAOXUD+tJB\n+REqdU2FDIxVcVn31yQ7eq15bfVMRSXksOPlILFkb/iUOZXN1C9oonHJlAVB\nRiZevugfWzcbVshQuLS6YqSSbc8a0hmIKOqZctYnVsFl9yegyG9K8FqrfVKm\nQdYBH8jjhpLULYw1S4F7FI1iH2GGxqxwjU64oGEfffoMId1S5yLTWnkV6DnU\nYhymHbdGhakul8Qzq+kQGDdquDbO3Oljnsw2HSDTWyjptqiePg9UI2W4Yw/r\n5EiE4d0dQPtZBWDhOziaknlYRC/lL9WJF0iVDbLJYslnSUb4kyPpekZg8RGD\nBuvGB712Z7UKH3epa8lXY2gMgWIQVweL2ULb6kFnGnBMXGflFHC6QXBi8Vx0\nGT27Nt8Lw3+Jr5rGsMKyiTWbN/CKO0Wceu/7p3Xhy/YoWXnk63J6JIWVznM4\nMBwucx9yHa7AEy++hbaEf7/1tnky816UqGbMLFZe88IFyfxcUmz6aLAVvkPf\nibSdxWGFLvLgpatzkm5qmC+OVIte+Mw1fyiq6S0Wgps7kpAeLiFGd/EtEfiy\n1NbfdE96sVJPXOSrVwLhdEnQRFOjsT626VNFls6LenYkq8+4djAeKDW/GMtl\n3hLAlCfQpE4egVzA00isgY/ORjV56ItdybdEcYSmyuZb3NqEr9MFmZJoEqy+\nRBlj\r\n=Y4gv\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.4.0_1630557456768_0.4838419128751106","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@vouchfor/uikit","version":"1.4.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.4.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"9845912801e8cb91e6ec13f8a647cd7b73debf05","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.4.1.tgz","fileCount":150,"integrity":"sha512-r4cJPUEtMB9VJ3AuC4YKFm8ivelPg3Y+YWEBVlPhOV/LRrFk/3EZDgW60QHrA3R3FwzD+ydaNohDH6Mk0YkWIg==","signatures":[{"sig":"MEYCIQDQt7VSmdQl81RZnoHhWogdQlL8ssb0CTZMw6U+0NQDSQIhAKtZiIuGzsuPOct5sp1906CxMY76AWEbMp4FWyClciCI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15996736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMFVkCRA9TVsSAnZWagAAjxIP/AltoTXoALYktAKyI3ZU\nEbcixXeji2fQKt6KXfL4hri4OnrI81JE3yE/wkhOozPbivd0LWSPowFVBrjZ\no/MXur1ipQIS07chrZJhSQruPYj34Ci2quRe7EdOyYcdlZW0pufdRzhNTkPQ\nXDwXRqR7qTnQiVXBGev7j6Ht05ojt2e7R958iMT3xWUlUcqQOm/qv/ZrDk4O\nzNm1jT5ceVWkFoqkUjYf33B22Q0qK6ldQUvYnhPKsU73o+kmYeAB8Kr+VfNZ\n080T29bg8dCnVTlRSC3F1aDDTdp7TWut/MIgjc5GCltkgpIcBhVSCJy5Uphv\nUnqUgUvtBTxoYiZYTGzyXhcye+d8YTVTOAd3JS/XLvNb0E7tOMFmtLG7mGpt\n/fJR4cgvUi+St9PfaRKvAFV7WLh4VF8YICcfVOGgapQwFDzR0tV1916rToK/\nwcVwCqU3f3X/86LStasf23vG359PoOsgRYdocNoH8AGhnBdGaU+2B0g/WytP\no5u0BBhtqhC0EOtVwTkdqblAuyUM4alNIgw3XrPXwL13NZxZKPVvbSbmK0n0\n7fTgZb9iI48o56eIWuCH2/RD5BYpr2yOXzjgsn3VA4Da8GGHjpiGjZDjQREw\nl4H4Vc7nyrF6nrdFeCMUaR2QUuV2fxMR9g5QgUP0i+znaID4HsegnxNulFje\nc8z+\r\n=XDB4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.4.1_1630557540285_0.3115472783216262","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"@vouchfor/uikit","version":"1.4.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.4.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"95084c0574e0f2bf03662b90af7eff018fc71948","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.4.2.tgz","fileCount":150,"integrity":"sha512-vpy+slL+MaP4uXHV8AH2bf3f2xdI5XlKePI9ekt0MUmdWqvPxJKNNnhD4UjZ5sP6MnLQ8yB1K32cafIRxdWfUA==","signatures":[{"sig":"MEYCIQD3W/LY+D0hw14ELpt72MuKPpGYA0gQPcqlcGRqSdTWHgIhALD7mbq4G+sv1Y5WjsW8uODwHbqDRuUi5UwOiEeArEdr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15973860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMFWrCRA9TVsSAnZWagAA/ZcQAKUpuASlC5LuduPetLa6\nTHGs8XMAMROkJvbf+2YF+bq4QHwPLvBpyAnLQPtm/OceH4AuYDbpwu5wANoB\nIx7s0EDgffNM02120enW+QLlSy8MJMHZW5LieB0CxlMC/wdBc42qBH4lDAfy\nVv4EVZwclVKr0Z/AXtmESJvY7R86HQxSYNyTZgGQC/ISGK+jvRd7ZCoNVW6n\n37V5WiKH4MSXPg4eNgEnFtcbpbbv3YPdhXe4015K0aeIxKfTn4+6a6wxXrkd\n/CUiJbIdxUKqsi4fwpg5YBmV7JAY7xWbRNxOMGLw2SsllfEw7llcoHts4CEG\nfCOFoU9kTVaygWIhbPF45poS/qrqvIbBn5zJrIIjGe5SKP0c408vCOea4NNU\nhSRQgDagrnDLDxQXivnCuExiEllUQSNIgnSdDTq8C5w4jC4sElLyDPHlUqcA\nLeUn0Hwed2ke0YCmD/qO/3k7rz1XTlpE+438Pi2KV+5xho2NX2mrQX1L0pbU\nuxpo33ByJQmUaVgMCnYxWoY8DoyjqzS9IqexnoPIa9goCoofvjQB0GG/wzYY\nIQNpwBcyIgwp2IeN30lMajT1mrDrYgw0V/r1N6z7ITAWheklOYfntEysWe8q\nYvkUf0BCX2r68NvLI2FYeTGIQDDjwP8MNWlcFYNy6yCq+sommOpYVdIAizSe\n55sZ\r\n=wasS\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.4.2_1630557611249_0.7096730023170998","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"@vouchfor/uikit","version":"1.5.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.5.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"98d00d5ff077229a1784fd733dea240336ea7f3b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.5.0.tgz","fileCount":150,"integrity":"sha512-5Bm/dKH80IGaYvcoyGoIp5l3JXXkLOI1TuBSHJwxRreTgVr4bcbAwKsPF1nR+8xS0XTPcSuGFXBjbLT5XWmaWg==","signatures":[{"sig":"MEUCIQCd9UZ/TzwxNNPZrsGZf/wBMfmRO8+pmCcLX2dtqvTopwIgA7ro0EmiacOABteEwfYSBaMqb5RHbZeGFWUvQBkNmqQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15997726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMGWHCRA9TVsSAnZWagAA640P/RPW7p67t6MeQXAxoXGE\nnlObG3BEBGEwtDofdptNiJEw+6xmzEs8qCWcuP0nyVvXoDL8uSbc1OJzFDMs\nyEpzJMrmzRk+DO9L2bVw5DRTNQejYxiZ10Flp3XlL7SMCTU6xN4EfBiU4Yqd\n9TDQGykQZk18rF138brST/JOdCoMLjC2x5yytkJUoMsMT6/wzyxyHvOW9QTe\nVa3ViGns/uMBZsDFC1N9X6wHJSaKXM2EX3K4J8xbKogfvASgFWZL2qe2Tgan\neL/Ec2OlvCP9eALgRGp9qRslkiA4CmHvwKBjr6QQ5gvxq26M659coe/Z1p28\n/yIzEQXwEH+kKh5XgYrckAbhGXZXSt9Ah3DbrVjsSgjh0Yf+m6THrA1PfnVG\ngYT15XpawPW5zyPKxdGxQcoZNZb2kNmJObNo1DxL77pkmdMwYfpWPqbtcuYd\nLnjd3Mz+JqpSXE/JAhbKZld8c+n4q2+VU/sc7X4HSB57eTDKQmTuYiweHsRt\nWCLlJTfuLBvBNfqMNKI7R6AhuW/GpNKov3UTNFOX3eW28nl9sajQRk7tTTec\nOhUSfnILTxEDt/WoI3DvUI62YM+JwCqx85IN/Nz47LblrV6ymQDvcdqEUhKw\npdSP4kX6UdbJX94JXjOb2IngHUn7RtgQB4lAym5Wmanb/3sGY1rsNRRkx2f1\ncf0L\r\n=Hc7X\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.5.0_1630561670666_0.1480836949527693","host":"s3://npm-registry-packages"}},"1.5.1":{"name":"@vouchfor/uikit","version":"1.5.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.5.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"21ee1cd39e2ba3dfc690beaa0c42680e78d0d48d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.5.1.tgz","fileCount":150,"integrity":"sha512-luEvn+OA1zI2GxA17TqP3OrbEgkwUKvUfIncHuBGdUKrHaT8hPOcQG+tFHnKgL1g60L+xFS4IjQeyTQ5Sye8CA==","signatures":[{"sig":"MEUCIQCl2tEc3v4SOr4ogL3bB4zn0zTQG4mnVQID90fEykeSWgIgdZAlHEC+Rvmak3IbFNcNkB10ylKDr+GArBDvKBXns8Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15996490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMGXjCRA9TVsSAnZWagAAHuYP/2a6Te4VE3ALUYX+l6AW\nyLtXU9mS5D6zx/56DOe+A0fM1jUCQPINe0rouk+wo447rbxw49M3RTJfMECd\nmMY/giA+HBxiV1QHZJxBdWy3Pls05I/5O8CFeI5ZSLeD9py9bmL5IZpdKPJa\n8q5QJVTUonsAf2gJgh2L9qqW+d+pkXSRqh+7iHqcOJcFC0KJfV6Tlt9uqw4G\neQ9/3onUl+hhVGf3bGSjZ14TXiGOs0AgzV1w2s0LZ95wfJ1+jAKTqE1QtdME\nZJPVc1Jux+e/YjMsu7DBB8iOjodeRvG6kHt9r4+j8NIuuLL2utk8y+O0n+nh\njp+H5bkkcpirC7Yt7EEPOCpMQjiK8VW4tQqNonRRP+rIuw27VOhjl54BoP5x\n7kUzVB9TH48jxkpab0iL9yCb++EmWHf2Dq8mull2Oyk2MQhmju9D2DK1Y+lz\nMYy84cRlZxOoZIyMUQRfwCIwli+XDP3kvK9PMaPBTPzuKHu5kYXjmr/i+22+\no82IyoJ6vbYVm927FCn++qdGnyk9n59Wp5FyY+knVtYPOzwNqKXM7mJ+ZWGW\nJoJ189TBWdRkSIfvZZrR+8QAvRtKC6GAeVpd/O9RxBkAientED23ixOdU/ZS\n+TOMhEX4s9PepcFDYcpcYEECP620bvyRqE3oRuPUE835mh1yZNkFAs/Ysb1A\n9UnC\r\n=qVAR\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.5.1_1630561762981_0.03788612762348054","host":"s3://npm-registry-packages"}},"1.5.2":{"name":"@vouchfor/uikit","version":"1.5.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.5.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"9d87e3596578182ee24bb8d5a4822474cdcdcfd7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.5.2.tgz","fileCount":150,"integrity":"sha512-zq0eSIKwq4tmUleOmQq9E373RwCPHNPxVUdSAZRFxkfD/Tt3cnbhhUHdJ1k5ux21yRhNcWQBFKPCUlUndec4+g==","signatures":[{"sig":"MEYCIQDOM5OuEGd9jXuD+ZUuuy6BQs31JPVjpHRIRo4cFPIT4QIhANA6OOD4wljQYr7CACqzeeaurPcurPDEIs+8aXqeI3Nx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15973230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMGYcCRA9TVsSAnZWagAAE8IP/1ObDZSxJXadgx8gkogk\nMsbUiFCOC53YbDpS7VcBErzBhcUQW2pKa51hA6SZfxuiakWVLhLzwE7WqJeg\nfTsPEeMjGav+TbNncaWrYEdUxTG6RXDEoXWPg2m8yz4uVBMpUZsU/JCWNTZQ\nufg0mcADhfN8jgiZfvTZ41EanShzQPwbrUJPzmGHFinN6X1XeypUJvBSdEzP\nNMWOlFrhlqYJBuya4QTnvQaGhBkJSW+pq9+C+GulwF9EttaSBKFXJxVAtm2a\ngBMmrkE60DMjimyRWB0XrCUC4/bffL+MLrWoxUc9+RWnQg1/VVkHno2Ifnj9\nM4WWLm3vG7G3dSU1ArJyhvLyx2fC+3OjDvxhknTgpOsP0o57+GZF2idZzCH9\n6R/FWu1WtojESkhZcEOML7/fcf2UNKxUFd5zJNxZXn+i4qV0WehubRux2tw0\nypRBLbfiG06QkKumfuOlGEcOVb7u6UQ3vgBjkD7PL/Gba/Pe068+27XPRdRP\n4Hjkbda6U+vkNTPgHESwrtSGwepVNIhMdu6KtTotWwZlD+oHseyCpl1AuDeh\n0cHk63O/5mz/YT7pfA6AO60wz3BVr8AjgFa90eqNSfysQpI7hTW68h37BY2Q\n5wiJ31MhWjhH4ebBe6Dw+K/KQV+1/HdmhMigN8NvJgZpIzvqkxK8XjUT3fS3\npotD\r\n=7lP2\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.5.2_1630561820637_0.46700565284497864","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"@vouchfor/uikit","version":"1.6.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.6.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"85fbe33fedb48c7fb9a8f59f95465eb4e014202a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.6.0.tgz","fileCount":150,"integrity":"sha512-BlkpU+kuS3ytxXHSdJmhja6rVOQGGFOEtbDc2r+tssczfnaeqx4J5Sr3YMiI4eTzXpnHjAl19mOHCN9M+M6BfQ==","signatures":[{"sig":"MEQCIFo6/da9G4HN5TMRlFXIi7RXEEYBsPqrkWsje68UzBcZAiAg9ODX/rpoykpBXTk907/0eGeWOlSEhJOdlENDwftqyQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15998134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNbv/CRA9TVsSAnZWagAAh+8P/jfgon+1NyqfVJJqwXNz\ndVTGVLzDE+etpdLfhxI+Go0GOrF3PwbV6moGQdqyZjChprJci3LIYjSpFjnV\nITSYm54rRKRm6uF9keZDTKi8qY87oO37a/CLgBzdNJkL45v6b9Tkx9wpH3aa\nJ/63aE+GgWFwYhw8+/cfDCvQPFfkcX7yMfTW1cqn7TIqY1acNLAOMjF2yRQ7\nUFRHzidSwGuj60F4dT1tn5r1igUF4b6tJMtezgV19SaqVaZpxmUugJ9Pdgci\nG7itQkPwnneMh4NJRtPw63GCnylaRHUhIpqDY2xdKSJ9f3v1sU2VIIAVQiAl\nL5Lh3ZS8SlWd3DKTRFLr7pQw8cEOxsTpWs6wBRYfBnswIwzmzu5j1hjZoFH1\nr8aci0b+AN/W6fYqCy0z47xZtqGPbXiXa63TIYCEbE1is+cchHgg4MMONcPe\n5X6J+3lKtX+mDj51DuTwGsBGTnJCo2xL0ayALeViRazBHgRcvxwayKOmOEoJ\n42f4w8AXNwjkqJbMDHtHX7rhwW5gMmkP7pwRPFB+VPLx8/1hE1tYrj6cWqyA\nrtlfOOzDGo2nOHDoTGYg0vx6dHROeGC7DnpRnjjpHjy4GvpQrb4whM9svMJT\nFicRx3AGtDakeasMGP1UtAkFhScZdA70teKvD8c0YhY4/XGrPeS6zx/3lok9\nk2dy\r\n=+ouY\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.6.0_1630911487567_0.1306748209273383","host":"s3://npm-registry-packages"}},"1.6.1":{"name":"@vouchfor/uikit","version":"1.6.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.6.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3632ce18e0ba4219560c0bb41d810e2adbb621d7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.6.1.tgz","fileCount":150,"integrity":"sha512-AhZUbHghFzqGvXjQ4FS1YnA8mUlGx2dbb9VEA4f7FDN9TAolc2lQBydfgmdshsBKxPQZhIPuFJS90To+6WxtmA==","signatures":[{"sig":"MEYCIQCw3E/7QmeCRPUFGCvJvU+q+1sZkeCWnoiiQsbEyJUE1AIhAMCyJqwV3UPJwJS0N3+SpgWHFiI7AeYFosHcFrqOgmal","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15996754,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNb1lCRA9TVsSAnZWagAAVacP+gP0upnZoeEliakwkncc\nDe0HyystRTp8xIDKRh2JwthV8Oeu2kJy15nMnKqzTnQL3no5wHCAh6+Ue58j\nOoOgZditqYLuH3AViXfo2Q/MfPRhrcYJoh+HMvQq+5t5IEAVW11Bv5frdhI0\nUvtGdDB1eitEjqL7cDbYPW03ywYeknSihFhaQHpTu4v/9rYAnvGkxy49VTC9\nW2L53G61GP/AGp2IAVlKqTYvaW/7k9d6WTEy2fMO4rOxIGCTwwswEeWUCAPK\n+XC0uM4M5evC0yBaU7SZWlBEmnnZaleHY1a3ODAdMP/0HTU3RL2PXDKzcYNV\nVbfM1sQgBUGkJTxTiXnAwB67gDel726Sb34cjYYtagsmOVd0k6vBx5Iz6ris\nUoLw2MmC0Ko8YqAeHX/7jDVuY4bc1V1s8h8J/Kf9YLFcEiDFZ0rFgnbd/D/F\n+P/s7iY1H701s/jjV6eCCw21kEA67/3+awF7aPi7pLYX+lS7zrGz2EEAE9xe\nExQLqMI42t6TLWE/NK8ZLj14pKJG57b8tRpCyko9UPe7RQp37H0IqZL3qPK2\nBPI9qQ7+UU06JDfJcG2uFjW9BpupQoEdC4Vxox7INEh4JC9mnffTLAaKHCQd\nivA7Qx7UxnCWM0zd/DImojT+m2Pi6d2stj+VHsnBi8mQa6zEzW3SJEfPslwM\nIO3d\r\n=NIJO\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.6.1_1630911845549_0.06500534256514401","host":"s3://npm-registry-packages"}},"1.6.2":{"name":"@vouchfor/uikit","version":"1.6.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.6.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"efe946d1595d19da61179885ebbb3db2e997af09","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.6.2.tgz","fileCount":150,"integrity":"sha512-RoWFtjUdWr+vUmLnpLEX6jMBbPqb0SC2NRsTD6tB1mVHRbvUwBxe4AtFJrAHMorbabhOX+2yjG78K++ofrc6mg==","signatures":[{"sig":"MEQCIC0VbczFOsNv7pzhiRPk9A5r17c9MXPoOjyC7LxVeaLuAiA31/4LP70NAm/4aYM/wBTUoqg+Zj6KkhQ6J7TycCux5w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15973464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNb3QCRA9TVsSAnZWagAAg64P/3JGwyGsqQcCYv2C7tHn\nvRbKJZWCV5joRoUn/NlzbgYY4mRKQtGvEcy7PH+N/Qg+KgqWPRCQJx3NzAzn\nL9yFMwB2nHMr8n42EWSpspwq0m0XGAG3gpIjKgmrtvI9WheeMn8p0YkrXnKa\nTt3ff9uVl+/rvfgJmileRM5i2bqxcp8gkUMeOTJXk43aQxgvC0f190sxVudK\nuu/QUdWjZ4r6GYq+4tgwnwb+GiV0girJmPI7kqEWd6EF7s5A10U9lrYGqEr8\nG5JjCwDJryyDzbYYddh7YwKB00p7HDbQqTE6DdoLgenYs7UvreJ1svo0KM8T\nJwlbOP6DENo1bgpyZu6jvO+XVuIQ8iDspiLFZRnUL+UWIlUIeje/QK6/LSOR\n09MwCxEgXo/KGBGopnmuBbeUFeKZ80JyXoJ1ry2EhU/R0nZvF7W/Yjznzdc5\nimbSJ4Ctsf9AwFVOGUr/jzezQIo8ysa4FokSPie3uNgZVBs99ZeZEe6MW6Im\nwHpezPZmHAQV3fjeFFNoZG+mTzbmsa6p3BGnCDR1pvsE5AX59v7BAFmcYexh\n6myQwERSoFIoXtCFfyck6c2k6jXX5zH8zwKNo6DvPdJJOB7g+CofTqOi+Ljp\nFRg/abeJy9RfCwQwryFa8PqbGc45L0FJvOzLAfzpobP4Nb5N+6C6FhDQXiRb\n00H5\r\n=pLcc\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.6.2_1630911951806_0.3150297143610026","host":"s3://npm-registry-packages"}},"1.7.0":{"name":"@vouchfor/uikit","version":"1.7.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.7.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a64cdece974d7426f5ed8a731865194d5c85c2a6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.7.0.tgz","fileCount":150,"integrity":"sha512-KNyJqJrFbPzUpXH7EARn1STwbGWRGcx3AYUk+EZ1uB1rLvP+eKrZ58olN87tV71iwpLR+AfZXJc/nVTG5zA50g==","signatures":[{"sig":"MEUCIQCSXPAHR4z4KCo4tmaZh26TFm9k3DjtOt33eDUi4Y120wIgdN3cgDQvLjirhdmTy7IdZVSSvSUHKMVE7120GGMeGMw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15996050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNt02CRA9TVsSAnZWagAAwJ4QAKDHlhF+jw4Nt1ExmtgE\nuN5wJN5fYh2x65gGo2wWsBmQ4JsQsj+7YcwWaL6VLwjUYHWkK6I34gnrxVFN\n+h8iecY27KiOK2/aUCdA46riKQZsBZ54j8yopRqW5DjDo9AXtCiYTYL9HHJD\n3K54GAYbh8TCGUZGaNWYNCna8rT1SlHCgXuKULP94L0T5Siq4e/x5va0AZNc\nzA68xkRRIlOuGVqGwleM75jF0syJcRBC5W/SMk2b9GsVqImWGIKp83QZ60qT\njfU6ECO7b3ezfFTvm/GZ53s/Tfr5xhhqEiCZPWITcrwRdsV7PSGR9C0xL5+P\nGtiFsR+MZD6XsTrRXyOju2yyL9StqLm1VQtArqEsgoV5X4f19Ts45iim/zGT\nFIAUXIvNApQusjI8vno3cNn8uepvyztJAcXlNWwi+dJaiyUZft6uDxei/ayU\nEbrLcnl+N73z7I0/esBbSrL0quPRVBkLDkQTlnHHWE8iDzROyfIpSCCBPgFt\nRckIG/bUhoLZW9ahUpCNzfKOe9INmC3FyVqz3gpzrEFL3flo0vwj8Dn662ZS\nt1V2XvGuU9pwzxoD6H5tHRLW2uNO0LmwcUiYfa0Bw09RMyW2J24TR0Q3ZetI\nwP610y8wdGGqqTtDFwJxkFq4tGvR4Vl4w6Rd/eEtr7lqhi+4bjUw/aY0tksw\ndzzT\r\n=M4A3\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.7.0_1630985525729_0.6348000147295061","host":"s3://npm-registry-packages"}},"1.7.1":{"name":"@vouchfor/uikit","version":"1.7.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.7.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7fa5c8646522663575c79cbf4bd5674e0a6e8ddb","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.7.1.tgz","fileCount":150,"integrity":"sha512-V6BGRJDvGFJhfXwR0DsuOWfb+G05J2EnEhP2xl83FXkV59zWnHx97IvatiSFs5rmJ6cFrtFrYwRiM6+2P+8Fnw==","signatures":[{"sig":"MEYCIQCo2hvdUzasylTheTeWitJMQMJxX7R10aEfRv96F3YkugIhANTBciOqIPQYsymP1NoP51BDInrvOToLSShk/boyHECI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15996377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNt2NCRA9TVsSAnZWagAAiCsP/AkWpuP8tjzZkFSL3E1S\nMS0eFzrQtXz42uUXrsGDfWcHQltANSR00b453qj5XsjextC0L/K/SjMJaU0l\nfTiYcgethvYqRl2oRykgUy2tuB48ZZw7tdUG3TUeAix5ExzyAHX7cMWel68i\nZB4v/gXxsGpUG6Oh66z+xjEI8s3bdVv/SFs67cZ2DmAjwxa33Dx3OGzdMeoc\nI20DquM1oAiJ5cdCJCL3dgE5oQkq23PVilEtZz3yUl++xyAIzRq40JDZFPv7\nSX6EvHJyZaPwiygqWhImIeOxrZ77euC3HwM0RPXgNJCZsRBHXE1EDGXQGJ1q\nrgFxVwC3A4OwjvRWg/eK1NQzCkMVZHfFLShYuUSZsLFWbnYBwObS78VT+UaW\nGcQaGCZaJrMwK9NKU/Jy6TYuzM+ftYTcFqj7FzYykfhHo9SvPP2tNHHM2Nt5\nBbrgcUKqPEEAm1d+Y7brfQMbVXhA69nxbv2CPJFn6d2KOb78XDhVu6vXYF9M\n5RdvgODTY3mG4/BViFoFx1sf1Im5EW6Q1UmaUI/O/GfU6n4Fe9+4Ic0R+eWC\noAWnxn6fekjZNm+JopGTS7EPIATNZdXG8oCkd4VXtYb3PMEgaA64zPc/Zs1G\nq3TRm3LVxRBnO7Y5qFdpKJywx6l+ZnO2tApj/NIwA1QDGV3/V1raOFPnHZIB\na8TN\r\n=WHar\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.7.1_1630985613457_0.10809586528082638","host":"s3://npm-registry-packages"}},"1.7.2":{"name":"@vouchfor/uikit","version":"1.7.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.7.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"97d21976c3251486fa029c208d193a6478300498","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.7.2.tgz","fileCount":150,"integrity":"sha512-hcl1VAsi5AoUS0Zlz5cJUWz9w/zGnB0i4hGT47FX8i9ybENXxSdoovdJ1QMHh9L4VPMRFWI4mgO1XsLKqFIVug==","signatures":[{"sig":"MEQCIGbegg1Fm95NzNf2tlvWejtNRZHgrMy/NxLe99MojVUVAiA4byOXuKgZEkYqiGlflReThWWHeDHz0rORW1Nhgbk/BQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15996230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNt3OCRA9TVsSAnZWagAAIXQP/137AezeomVwnN0JVMxP\n8cwlIlCv2gvCohHg7q6obV428v8vAir1Xq1KpKdLznz1Q1B7M+E0SoG9Yfoy\nywEHgoTCdkeYfSOCU0jFy/6o7EKKjfpvvDtCBwrAMc2RCTvZFzXMT5b2Egpw\nN8BqJSsL9Rwiitc2KHVCceI1jzKKI6EyD+r8xk3k1SUcjMLCmskOEksBghbM\nOQXWxiJF1mhdXrmHfGwlOdSMoBjluhOw1gLBmZNjeaBBzf61FTr9yR2rVkcq\n1dTT3vY+hlGSpHELEAbZyGU2lBr3UEeWshr7sUHLBADWV5e2SJMDjq74ATyP\nL+Fj+XEMScIfIuBOoZOJnb3HkmSebqLKY2s7f09ZRNWOaf+bEIsw6fp2dyGS\n76fSI/SZMGoXP7jK6QZ4eYaYRdqgNlexoszCGNoFhlRAyYBAVo8JYJ4ezGSM\nOZh8YfNOQlpoqNsXmofXUbDZ1sq1/YpAE+c7Um/lui4O+1pHK0IiEsNo2b9c\nMdgsPXdZJbxkZbAsuih4Q9aXcHQYV+VO92tvXOyCuAIg4fwAxlQH3/qFYU9/\n3ElzbbXj+ZGZb2gT/F3FwYBElvX27m8r4lqCD3VKHYC2hM6EJC9RyETVMdp1\npaUHq4BRJayoCXhAPM6L2EmYDjlwIfnjGSQIZfaQfaplclhdr0ljdcTizVsM\ns+M3\r\n=pqHz\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.7.2_1630985677706_0.16759595343212896","host":"s3://npm-registry-packages"}},"1.8.2":{"name":"@vouchfor/uikit","version":"1.8.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.8.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a09cce5add973059ccfe79034e1dbf9a9ba10859","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.8.2.tgz","fileCount":150,"integrity":"sha512-Cup6sthgYTxP3FzKTMMwATCLxsakW56jNhjezp0Q9cpm++u0Rr9KLnIPcE3l65XfZJxi7A2Unt5N/OPAmv04ZA==","signatures":[{"sig":"MEUCIQDBOhgjdi7gDXeIno1KwO7Wfi3+ZsTeizjJkheaBdQRrwIgSrOZrrx9KtDRHbC2o6Cir+wI8hu/3ENkxldJzYyQBN4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15984768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOqlYCRA9TVsSAnZWagAAIU8P/RmLxPp8XNSOkTIJkddI\nEfyMkDamR1vT+BzEaoKabVxmBxcyyDBvK0KfZzTtEEBd2r9q2sg1cASgHQa4\n2d5FRRpbpLAgFDL0gLIv1VMBKOxjMSNDpOcgHD/zoaNjhFqUBi4t69n5l5Vl\nw/6jjwcx9Kcs3DKSKaYXyyCjZgwh8FrwYUkIAom+hYixUtllDgQ6BhAEBaLR\nixe6FC65udpYgdEY23qll7238qLEpYVeYO7gOcrqpFmuDBiNlM0wrCvWzLqM\nk4F8RTIHpTt6mY+GirUNqkacn+JjBMSYaahazHAMT2Q95TXZqd5qS5DZ8yHC\na2Uni+SSgu1ayWbFWXicW/zM+Fn++qa6hDV3JORWok43J7CfXXCOAVeE3gnd\nOVqp6FuKWs7ZPpbBClZKctvNIdPiTLgDkGTgQ0vSj10HTU/TJfpM4JEkMo/c\nv0MR3UAExUvtbjCbUw4PyeOvTtz9Dg/Td3XlgOW+dxQwM/iEUpfOVr72y5qd\nzIf+srb/NfTpq2oZ+FoYAJ9jdLIm5KfHDi5ACadxvVZ7narqRhdsdsjpzCX2\nDhYvwZPCYtKXgHq61A1m98yLA7XwP78o4mpfUifLdaOtk5Xt0aw2nGv+7Flu\nVuoN8znYDjT8estcZ4ChpxK3BMLAJhk189yxuErJggpIVGPzl/RyHZJN66zM\nyvmN\r\n=RwMo\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.8.2_1631234392249_0.37345701547655263","host":"s3://npm-registry-packages"}},"1.8.1":{"name":"@vouchfor/uikit","version":"1.8.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.8.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f504e84e18f7a74da238f68b4bbe9d813cac4150","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.8.1.tgz","fileCount":150,"integrity":"sha512-hBuPlJlIY6fcXAB4X8367GrMk1HB4OrMAd+4s+hOq/rWEdGoPCZ0nuR46BY1HvykBSlMSFadZAkgkjw/uAiLVw==","signatures":[{"sig":"MEUCIGwbCoTOx07JGNY0ZovC7ftJTLRauVOwimbSyuaR5vM4AiEA6/KISuHa96+jOwZuj+nuc/isoJ95gqTvHCgVZV2t+vg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16008388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOtpbCRA9TVsSAnZWagAAvXUP/03AlFGOutUPDtTO5fBN\nvKZ4mZFmpG+AINQIwZqtDvCRvhDI8pgfMBNaisKgAbCu/ftd01U5GYyAADYW\nTMnf8/a+TgTsJ9FDDvi9Bl/nlCz6T/oyA6CRBT4fYqXftJiPUleBAXoG4pRg\nXdvCJPn/CsyLFZlPrXkxuUy9aYV+eK+o/ryDJoGvv3XMJOJRw/UyHsm3txJY\n0V9jFCAyLTm9dnTVu2VcTHeYhACnADIiqdUt2IWafPfWUfms2DJmQMcAa3Yi\ntg6Dve9PYUfv4E8MlTyYn3NXHQGz3ri5mL6bnOorfvmZKiwG4gNKELdjBL8t\nR++jyg1Eq+7pYQx566WL/GOQDK12RQXiyxfr0B3o6cLSnNwabKJg+vfeJxF+\np13hJ0HtQXk3Wa55nhMKL8/VOsb8+cewsiKgesmk5xOLjCIBgVHQu+SjQk0W\nmu0/XwEJaUMEv3OOzuzNn5gWIAbdjOCLKSZs2zancKujMHMHQFaM/1evZhWG\nFplm2vY7XA5cTFq6TYOrBd32TLdvVPsGmjHVdkvI42OLq0S/8SbNZBKDHyEu\njgL3WpXyCjLYllXaJnufzsX2tub6EURlyav3EjOJzsl+jlOzdAF6AJVCWpg9\nr2nLa+OyYdrVUDguLkLWxHsdnQZ/tK8sofxW1KwEwKNbQqoyqABLyEz7n4Ww\nsh3F\r\n=2qvT\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.8.1_1631246938961_0.9032743782951558","host":"s3://npm-registry-packages"}},"1.9.0":{"name":"@vouchfor/uikit","version":"1.9.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.9.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c33ed5925122dee650bf97825a6c540b35466ae6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.9.0.tgz","fileCount":150,"integrity":"sha512-yJjowCg8TLNgV891193FqxIbZ2YB7k1yGnb3lktVMj48IvJ2we8UdUvcl8gjV5d7K/lXlb/tRwLFp2m67DwAFw==","signatures":[{"sig":"MEYCIQDfsGfXXEFoyWtytVPdd1ACMWVLIjj1RFlaujN8KkT0FgIhAKR28DcCwy5+CCP0EcN4RRN1luiM7Jd8ExgDJi0s80zf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16030329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPtfrCRA9TVsSAnZWagAA30IQAJXiHNTYkmm8HfPuSZY9\neyoN4RhnL5MKxFLsp57UU4pA72vosbMU8rg3K2y9Z4/roWw+qVNtiFQz1aZX\n7ythrdjMYykjFbhG7rv3Li9XvXn871WWhT58wExH/983s4KWTeZ05QyPW6q2\npKWfrJRwNkM1NZhskedQ3Xq7tXxs1hu+pxjNXEYFHHUE001LtZEf9zBa8qSW\nOeDiGBT5V8oiw+BVi18VDP7obdKdVUEex9Dzt2b60dZavNguuUNyEk6scoGz\nkqI7+NNXAZOduOgnQKnUR/7fvHEoLQ/OyHbeofqqucNf3FlVTYaWlPadQXVM\n6GvJQYlfQ+favJTSl3AKJ7KyicmFJxajELtDQIryRZSqU5MMsyAz31ob9+4I\nyCixU5EVYE6oLzEpL1yqpNMSKm8zP+06YWlSmJdX4mdKAnL29vqcJQ2B6LB/\nwORYTqCTqD1k2yoTGWKNeoDWcDk5PHBY9asdtnqFYoIssrKn6VdzOqQdkJgF\ngGOUZKWAyQlb3g224EAMzk1BnH4N+hSEI+QCVNrcAVz3A7KF0jKvEsnbzmj8\ntNzYTLdYkFFFWuP3ODelrQoS5zaXKW+ba0MfE7smqSpFc6RuA7GgJXpWfM1O\nJpjCbzGPxUM+3gMSiTj65GqhP/3VNnyTKvxe5h2vyW5XmyEdPtXqdOBjsQgE\nVkB8\r\n=iSWm\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.9.0_1631508458915_0.7732128385541135","host":"s3://npm-registry-packages"}},"1.9.1":{"name":"@vouchfor/uikit","version":"1.9.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@1.9.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"338ca440081dda700f4bc8be1e1b7f4e8869376b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-1.9.1.tgz","fileCount":150,"integrity":"sha512-MYHMHKT34opwlwzDyMeV41xY0F35VHl7CODSmr91MkyZW3gMm4hoJrJeWuBXa5juTUaAclZkTwiyZG3Pg+qyTA==","signatures":[{"sig":"MEUCIQDpW1Hm8aVXEIHYMUW3i8cKJYcY9al1d2KVypvbHjDmiQIgHuE/HCCmPpHJo3lPPCsU+UHi4vNZg/MG8+uncTWPlEk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16053963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPtgyCRA9TVsSAnZWagAAJ9EP/2SFTAiK00ZG7sY1JvUW\n4CLS8FE9j84ynLvJzysjtU56aveCDExOcDCn4NRMBsztRgRFTU6JxkB81cS4\neQEttSHqTiBaN0dVeWtNTHGrFAlP3ceo3zmrarhWgMgLwbACjMkFi2bGHyB6\nKX7dCN7uXi9th9HIsHi2q+WZlcjxHBo3MvpgcPyXTQM16Fc4EwUO+UJmJj48\n9mlP6d5qcgyURLJDMNtJtr9DsuEL9ZaQDRCNmPAOLmSrFtVo+v9iuyHSc7M8\nLgPD7edH8DXRzUw4jeQYWV7CJGI/tXWBH1+Nm0hupQ4EMEp+In6nFOOmiETl\nv3Rw0pD8K62Y/LkqPkvNgOuis1DlrCgrCNSz7FQYqyo6pS/GCIJK9wlkzGaN\n4n9RKWPmr1/mib+oX9DYeHawMesN17nQHWZNdIrN+ML0IoooAmHmEAp5HOyR\nxE5AAdph0Y1gnz1obargioWns1twCrMpxjyds3jFWszZjF7aItybfZncb5Jm\nSlgg983MZWomGg8nRTInPYvfD+ckbzj9OLcU/dwTKn3YsximvUiBuTD4DfFV\nKDWKYhHDHDBiZH9mIo1933MVzKLKUf3J6PZcXahvepfPHJ3d0luMK6oYT0lj\nTq29/Mpyb8V1wYt7YgV8lx97AI1/muBGPlSOV0GBdiZJDn4zYY9rKrwZM6A2\nRBFw\r\n=xkug\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_1.9.1_1631508530321_0.11134356773222698","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@vouchfor/uikit","version":"2.0.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.0.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ae3468cfb3f1a8f093f4f86f3c4d25e530ad08f7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.0.0.tgz","fileCount":150,"integrity":"sha512-FajtM64zOUlniU93NpmHIIK/guz0/Nw+dLJR5MPijz/xKoys3EJ91FRNGT8kmnYhNP26YQo9gByaY0XpygjNaQ==","signatures":[{"sig":"MEUCIQCrVJCmW40Nqy7U/OUzwK+98eUPSiEw+UhEe1UskPlE0QIgc+Tdvvz8oAA4vh3E3v1905/Eb1vV150K288eGccm3Po=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16043313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQCO5CRA9TVsSAnZWagAAy2sP/1zHymxWDfct1JultQYh\nW87EJtUaZ3RwNmL0KylfY1EIQiHNCI33P2tYKlV8QqfrYZUK7PLVMQlRHG+7\nb1ZX9al9s3PRKcp1hnCYoj+kcanlhBRpHTC9sBJa59g0OH+y2AxqLylozjX7\nQCtdxx8kSzd3uVBC3Af166aCNBuNXiyyHn2/4rYHhdGUMlWaDvhICzYhvAX+\nJAuDLHGHq+rv4SZMvIUvhuDHRE5BF7qvj9ZvXQiTz/xm0P/yCw9GLXPjCH5Z\norGlP3QH+CrWsOs242GVGgn56xjnuxfWiStn4JN0qokwJyEXUya9/sz8OybO\nCsR4uP4sN5G31ldbKfJXcxaEDUqapMJYfhunlOwP8AfDZ5lJdlPH/5nsuvzM\nNrR2iWMdyAZlHN8/XsqaNlPk3o03nCwWekssTMfkA2LtugAvs3LTKi8aEU6D\nVkR3xnIsTN1OATgCcxfeiUGwCZe9JnLsCbfno79v/hCymQyBakmeYXgZeZVS\nBh0g4PW+B9K3pnwQueBYIMvFROuWxylf3zOqqYMAiJN+8RniHyuu/oCw6u8F\nbRBDhfnrF2VpjmRi+ylPmuhWlqHn8IxLggY933kM6QK2G3QZP7hvPFZLtLZN\nR4K3MNLa7i+hqiXnTUFtpHH0Zm6xDmOsO3gb+d+9kLcqzP1dU/+T41UJh/PB\nWzYm\r\n=vgm/\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.0.0_1631593400957_0.68393875140158","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@vouchfor/uikit","version":"2.0.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.0.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c0ed3d54a256806e4c466ee05b10da16c8bdfded","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.0.1.tgz","fileCount":150,"integrity":"sha512-W0+9hqxOEVrcCTkWAuO6e3+7cpUtCqf1jRtn2ugGuoY1rrrCG8hIuPvp2NJhCedLctP7yhBhGXkBRxLvCLFLxw==","signatures":[{"sig":"MEUCIQD4uveAzeuaRu0+AfVEm02lN82byuwiKK5bIAFmDE0vhAIgDN8FxueyB0wt1czWT3jWqKHg/eLHz26V4rUtqtZgLfk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16066947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQCQUCRA9TVsSAnZWagAAjDMP/1bdXv0p4dNPPSWQEhAZ\nwO1k2orEKbtesIEt88dwgalU1/fac3LQLxWwnMnCQ8Uu2qzhRZBznba2VBj2\ns6HiOjVbzz5/kncrT1LTEEcRZS8HgpPar3ZYS6VSKCRWN9vyasfUEMQDCIA9\npszAR+QKv+B6ZeBppvYcTjELXqeLhFcZZBii01qrAh9j/jlb85K67QEuHPot\naoiSgLF0E1weLwtL5ARGynYXYedqMOEzBENR9rjVTYbJfncQ3ZsWe9mDg4rg\nFDv7llKxQXT85FxDwIjgGYj+mqOO6jL64Jw+KKmhbcYfgyk89IVTDbKjT78g\nVhu0XmomFHw6xQmX53zRrKoh918JSX8sLL/UNCEenOikAtL/vi+TP/jfgQxH\nO5etKI1ERvrspHU/G4xoEtpr3jrRVcUU5SFE1qYs3ZFYgTk+DIwLTVB01Yyl\n12976tZCj14339K7S7IOVLPbOYuoqxOVRPYiBninkKqrGpMbWSYeNJWwzMae\nRJpeda9kzEy66DxdKspe9YQUkWGKK2sBWA2efRiGBe4KG8f6fC9yGpo06uU/\nAb4NEkWmYDpIcRqqOdAG6KMK60318pzDUhZ4rJMTdI1n1lo9nvrc2CnS1+gt\nyCPzx93YVtC3YMm5A6VYmCpYGhoypXboU8+cxtsNWgYiyBe1Nz3ENQX6tvqp\nxSpD\r\n=Hr+5\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.0.1_1631593492106_0.4446357343357321","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@vouchfor/uikit","version":"2.0.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.0.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b09da715881e6d6b2f6b4fb39b9e3ed121ee1437","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.0.2.tgz","fileCount":150,"integrity":"sha512-1YsRoKOGRcUBS7XGiC1ItJNRbX0pKR8ErIQF90HZibf7RoHkNCrNDlynWPVf/u+KlNY3ag8PlYdXgengxLx5AQ==","signatures":[{"sig":"MEUCIQCAP3Ijoem0OdaboqNzbH1/Xzmd5u1E9OrTeXLmDDAFWwIgWgvSQk7BlrIHCzeNmiwbkVBF3+z1kkoBWhOQ8VIkoN4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16066620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQTg/CRA9TVsSAnZWagAAS/kQAJiyqwMS9aeKZiWd1R0y\nBsgKsfsPAhAtYLTEyZbl5WtdcbY/1TKErdsVDNl7Gd5pEVxlLxiUoXBxpeOL\nDqRXVnqqeFQZGS2c+ObUVhDur9Vio66ApdoWxZsrUILe2pEpCvZX02WfY4hI\nhNJL4Fn2sz6c1aOaLRXm+C8+MztER6sBg/zBY64Q0K69/E66mnKMtArk6IdC\n/pvlKY3kJgBgExNKan6r3QwycJGs/U0DnOFxaO2kaK1P/LMvmVZfIPGeXBdi\nf1YtizwWdRlPagFapW14s44bWMf/+nvVpZRI/W3Ygd1/RnhOGgamfLKqxYPP\nKd8fgByeEugbOjrKZyEk1Ub/BQkCIEZWM8/x4caAQatUMdNEJxWiOkSiakbI\nxo5DXKaJhSiDYrWmnXadezSW6DAjEZDnXLsfaogcYqnFQfg4ZAIERes9Aovw\n+x/g7mLcYV31iNkSCFYF5hxoxf3kn/cHIIk7KbEREG79BgowtnXZZON/GG5x\nhbUht25+eGno2Uy/XQbkExpdMMD/PagMLg2eM0EYFHgcMccwMFMsBz0xzAU6\n0nZBTnYwsPuUrCtnljUmkTn0UDVeUqmGxO1i8aSVXopWXTznzI4++qU2cJNl\ngTDqAm5AmY64/RKUy808GUXHR2WVlCe004x9Zl9o6XlAt570Et5GcU/hdsSb\nREOD\r\n=5fW7\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.0.2_1631664191304_0.11514611223919213","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@vouchfor/uikit","version":"2.1.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.1.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"13e7da17c02fa6ca0b513d73c8bf6a6a9721a1fb","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.1.0.tgz","fileCount":150,"integrity":"sha512-dwhB/Cn9jPnQWmG83Wbw7PPrG2oXgJLwVT0jzc1+dcuvvngvkA/LqlwQTpNqn3jmDzAMoXQAdYOFgVJjJ9iKbQ==","signatures":[{"sig":"MEYCIQCsd7BeaPt1VZwgFMyYvjyRfefxL1uBseuF8Wewt4uPEAIhAIaoT6gdVbszghL56oDPnmWReERcLeEjsw68fCKEHFHT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16090923},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.1.0_1632207331938_0.07027351048143227","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@vouchfor/uikit","version":"2.2.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.2.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c511f4745c2f2d8d72c362a8318f462a2f91404b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.2.0.tgz","fileCount":150,"integrity":"sha512-nfqF1PrEBqewZRPYL3nGU+DukgBVW8JA2qFvWxgRK/9xRDYZMBUgvHshzxItiy6cIpLYvMhUjkebqBVEcZppVw==","signatures":[{"sig":"MEYCIQCmfZOsoxoESlR1ijldxftSrvl46w0aVtWVlEKCqqSXQgIhANAQbXNigaX75BGRHZtfAxUWD7j/r6yrwabEA3r8qxys","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16142203},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.2.0_1632288077701_0.45255997993028463","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@vouchfor/uikit","version":"2.2.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.2.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"33b423caad8bf3fb54d69ef8fb5a77eed3730705","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.2.1.tgz","fileCount":150,"integrity":"sha512-YACXswW3tRfW+9hRc9zRyj5ag2yPh4EBiqcyRX48AqhqpnuyK+jGRXIxA45twVXyEX5WOG8WyKiY96uPefuZRQ==","signatures":[{"sig":"MEUCIQDmPdyvkgu+TNATDPj1ttIe69wO+DIqYtGes96Qfmv9+gIgB5NyP5qZL6HHowHGcXwN6UCbXEyLo8pEGh3lv03BOqc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16165812},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.2.1_1632355522555_0.28339243697660055","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"@vouchfor/uikit","version":"2.2.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.2.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8fc364de9b947ffef5b3862b637917cc5cfc12f4","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.2.2.tgz","fileCount":150,"integrity":"sha512-miFHPjsFwLA0zftQwhtI/F5fy6ApX26Zhac8giSAPtn8P1BIADIX6XCElX/6HX9QKN507GFdWkrSINmsC37cxA==","signatures":[{"sig":"MEQCIHfZTBYCjdhHPDK1MRDiZcld/aHW2aAxOWhhDKF/TgaEAiAPNdMf8nj14vJ+qeEWJI8TcI+N2XBFNhI4VYrS+6TBRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16165485},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.2.2_1632365682626_0.6552548963685854","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@vouchfor/uikit","version":"2.3.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.3.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0a961a352ec82496151c4ac13b3cdef7b33f46ba","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.3.0.tgz","fileCount":150,"integrity":"sha512-6spydWyviLW+B6Xjut4D7fttP9n6zIyJQKovc7l+rwLqKfDr5i3GycaCfecW6B9hnvRqCdhG0rwc6drn3NQUoQ==","signatures":[{"sig":"MEYCIQCHFsAw4WiDYQ3ce/1NE4HW0MP8UvDoHnPGwwHPxgFcEwIhAMSETbxKMO+a2VHteqbQ3ZU2qJzpRiG1xF0CvTsVPDA2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16144412},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.3.0_1634536893992_0.17680363125457288","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"@vouchfor/uikit","version":"2.3.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.3.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"272ef1e5ce79eacc7c55b039a971e9e9f4f28ffa","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.3.1.tgz","fileCount":150,"integrity":"sha512-Dc59k8grM4r1FclSgDff2gaQCwKHrKWyZSGUjrE0KZu0X5jSoFuFYRjMueh8gXWN7mbXilbfenSbp5UXCs6ogQ==","signatures":[{"sig":"MEUCIHm+OllWFRhYv5qVLFQI612PxBg3jY8Ga1d3qDbZOE9UAiEA+nzuYiRgtSPTdk9EFVmfDIpfrvQjFiwtlj8kN+pHbAY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16168021},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.3.1_1634536954007_0.40411834969583205","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"@vouchfor/uikit","version":"2.3.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.3.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1b4824cbfe86f5479c2fe99c34c9fb5614d28f99","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.3.2.tgz","fileCount":150,"integrity":"sha512-UNQWPL98qqj/rfVQ3hu16ZhIK6llMmKG6qnkDW+dG3y1FK+yVAGCqE1Iql1u/+Ue7oNarStxFbRd5V8kmQ8izg==","signatures":[{"sig":"MEYCIQCN6pwZk1QcohFRHFw2s4A+f/x3HSPVH8kMn4qGDzunbAIhAIdk3/1UEnFejf5FFJNv+zPHxa3EaO4dWmXbzuWknXzi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16167694},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.3.2_1634537054839_0.5061790318047186","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"@vouchfor/uikit","version":"2.4.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.4.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"79e26730727e1d6abffc91a39befac126f860adc","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.4.0.tgz","fileCount":159,"integrity":"sha512-Ncnl0qTvQz3s2kzMDdS1bjf8v3oFzK9ocW9gC/mzJEphOe2Nh9OBTWu6VGoSLgxsyJDFy+J+oBk9wICl9FDwtw==","signatures":[{"sig":"MEUCIB9sAdY2sKzO2PdL19oOhsVyHjnanBOb+ZDb2rByfEH3AiEAgi8/jFQDtISZYkOq66BmMhebQbKnrO1JoOG6eJBPkh4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19013349},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.4.0_1636518148694_0.5837628922015623","host":"s3://npm-registry-packages"}},"2.5.0":{"name":"@vouchfor/uikit","version":"2.5.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.5.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f363bae921f7edc141383ff6286f5df4368dbec5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.5.0.tgz","fileCount":159,"integrity":"sha512-VdphP9PaxO/h9ZNAtj3hxeKILJ5kVYYBD1huwwqOhDu/Dhmnur6szlVrQSrTU+8OsAAUYGDc54/MEcJcV6UAtA==","signatures":[{"sig":"MEUCIQCO+Yl8TBcPBfCra8xDB3tgqgQedSr+M9vVv88hM5x7sgIgGmHn2kAvj74NWPlix/B2+ohUMEsOXz5M+avW5qwSIPg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19013841},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.5.0_1636592182788_0.4878371341812082","host":"s3://npm-registry-packages"}},"2.6.0":{"name":"@vouchfor/uikit","version":"2.6.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.6.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"adcbaf7b949ec93a4f677f6819bc69cd1ce7aa5b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.6.0.tgz","fileCount":159,"integrity":"sha512-NxYywQgtMrLgbZ2DbSip8aiV5pt2gi5W7tqCYP6wnDnhtKOB2Y7b4KSzJEn/UAM96YAm39laKrWVgRXVYH5rCQ==","signatures":[{"sig":"MEYCIQDQUfmel6K/fyxIA/QwT082yQV0SsFClzHVeTshIMIBpAIhAMWmd3olWUVjr055NJZwog3LKOt4rHg5zu+MbAdw0GYG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19018742},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.6.0_1636598082838_0.9341540392907188","host":"s3://npm-registry-packages"}},"2.7.0":{"name":"@vouchfor/uikit","version":"2.7.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.7.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"093fc9929ff770e8ae3378317e962a4389ae7039","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.7.0.tgz","fileCount":159,"integrity":"sha512-QyLff4/2RwSWJAmAdq1WQXBH5c4Y+BFsF2P4Ea6tBdNaxUgu41P38ntmHlLqQcCP89LxZEvFTjY43ssuuvmdOg==","signatures":[{"sig":"MEUCIQD+cNU45Jx2ItoMXYmI0lRS6oGHwGSjz+4/cPWPprGU+gIgUv3nxc37HGGuwmQpLxh2P//ENOivfv9U5tr2QKi3+xQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19018677},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.7.0_1636602163654_0.12750777959371273","host":"s3://npm-registry-packages"}},"2.7.1":{"name":"@vouchfor/uikit","version":"2.7.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.7.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3b4ae68c030bef6586975fea2832898f7b58f258","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.7.1.tgz","fileCount":159,"integrity":"sha512-9kq/+inV2nVVrT56MGdPbOBDFA0uhzYMDBq7JaCtP6DdZuXsSRqJkT6NVHEARxIYI77SCb+zXEHqFxy1yYzCRQ==","signatures":[{"sig":"MEUCIAkiVaC+1caGXP59bLQ4jW+2P3ir5YYg1+to08b5HrzqAiEA0AUbgS4BcZuUS34sfwnwcIDkSqkfaXUMJ4Hv2tvFUX0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19049410},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.7.1_1636603293938_0.5208506822745416","host":"s3://npm-registry-packages"}},"2.8.0":{"name":"@vouchfor/uikit","version":"2.8.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.8.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ead0f3fd649c8e97dd10a542ce9c401717a7ea44","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.8.0.tgz","fileCount":159,"integrity":"sha512-ASG477pkNCybdAtYbhIIp7dJ+aS9Mzbqb4H4s9edk5r9c67mxjgEe/cY/pRJAo5j/fRExUJcLxAaM6+QaXwsVw==","signatures":[{"sig":"MEQCICZsgV0D2SBgos0N31TKivJw+tlZnrf/vgtIgcMAyypbAiBmn17i67O4fYe80LXuIwe0rGUez3pP6wDhDCu9sO7wuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19020350},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.8.0_1636611529054_0.10556288891177634","host":"s3://npm-registry-packages"}},"2.8.1":{"name":"@vouchfor/uikit","version":"2.8.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.8.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"196e793b6fd78a1b048fed2dc6d90eb6067d05c1","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.8.1.tgz","fileCount":159,"integrity":"sha512-0iAxDx9KFCSRu90aOIsaP+CGaDZ9/t05jy53bDISXi/IesijDvE7rDTKhq4dzLZ/FHdohowijgZM+Z9dfFEDSg==","signatures":[{"sig":"MEUCICXiUzxwHVlzkRQgvP1WBiMxczv50sKv9TDjEq6Y3ifnAiEAoWZXrddtcaPUM9PqPprJ44xZdoX3gJJAeXEl5HNL7ig=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19051070},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.8.1_1636611837426_0.7075622247863338","host":"s3://npm-registry-packages"}},"2.8.2":{"name":"@vouchfor/uikit","version":"2.8.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.8.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4a9891afcb6cb41bd3956ccb4c6c898d4f7e6720","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.8.2.tgz","fileCount":159,"integrity":"sha512-gG2CwjEtN13qQR+IxpIuqj+6D0mA7bjvsSOPyTOaJPwsYAiibpf+DKMpHIaRRrpn+Pfm+g5pqK0rX5phIVJdPQ==","signatures":[{"sig":"MEUCIC2OFYJUE1MN8DolbH5Swke0tBI0Y0kXX3/89By0vUbvAiEAmJ1dVx/3abqAmtfP/N22gineT+oIqES4tQ7lhPpgUNM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19050476},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.8.2_1636612155500_0.19798731593551389","host":"s3://npm-registry-packages"}},"2.9.0":{"name":"@vouchfor/uikit","version":"2.9.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.9.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0cfa9b5bee0384e90ca02a7b3aaed1712071d492","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.9.0.tgz","fileCount":168,"integrity":"sha512-vxeTSZhdK3+VI7iTAkQXqqv14jjl7JwhxEeBaTY9M1eC7d60g9L3vjxi3FVfQrW84nQA8wrQf2wmEPz5rH4fgw==","signatures":[{"sig":"MEUCICHVv/5ps/TiTD5XuOzgH+Car64MAfTCkYF6Qy8N4wuyAiEAvr8AQ2lR4ra9oyrwyZDJnmKXwRtc0xfJyN0LQUh6TcE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21852447},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.9.0_1636694112152_0.5339112110302966","host":"s3://npm-registry-packages"}},"2.9.1":{"name":"@vouchfor/uikit","version":"2.9.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.9.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ee7bbb6626038b32ec84b23f403a157e9b228a14","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.9.1.tgz","fileCount":168,"integrity":"sha512-S32YUE+Bp77RGyxrxljZSS/4qrzm5V9rhjziuMC3dAo3ZwG6/p2h4+Q1xBhDjiGocCHktvsBMtKDNKV5Rsxl+w==","signatures":[{"sig":"MEUCIQCyI3jYc5I9X9c8q1/WT6wI/N0B0yvFbqpaRHKW6dbmCAIgdDxWBBs91W0i+rlU8Wo7qknjHX61kJISWjE2+Isgl3k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21890300},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.9.1_1636694490234_0.9537035803462075","host":"s3://npm-registry-packages"}},"2.9.2":{"name":"@vouchfor/uikit","version":"2.9.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@2.9.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8a20c09f1efd7c47bd8bd3cb2cdda5a53911a0b1","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-2.9.2.tgz","fileCount":168,"integrity":"sha512-8inUIwqAw36C3J3NTTNweLeAqgwOSnBYClZbPfNPmsa+t49zzY6vxdNYo7YImxy56IBWKLQylmIRnHcZTcIIDg==","signatures":[{"sig":"MEQCIDoqikmyJARx0nA0EkJBzQuCZxubYJNx+Znpwzzn6xr1AiAI+qcXV+J4byudbzUyuRIclfFIgby5p74vMH5q85scfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21889634},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.0.33","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_2.9.2_1636695853016_0.9031182632731674","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@vouchfor/uikit","version":"3.0.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.0.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0c099f32671d6e00b98481fb83995efac25dc40b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.0.0.tgz","fileCount":168,"integrity":"sha512-qAmDLENc13xzlQi7g05bX41GvmT/5zvqiWpHHdY93WlwfG7x1abKDpzKkzahpybUgVGYUTbrmojLterwhWJKGg==","signatures":[{"sig":"MEQCID8Ow/7LxekjrBxdC6/T4FdBDVRjqfG23RrFR2J4Bt54AiAytRPk1g/9f5ua31gypFbyY8mD5XPn7z4poeO9JybzTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21805892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhk0f5CRA9TVsSAnZWagAAH3wP/j0wBNRFptJYXvAqfJxW\nwuFmSjHhqfn/q797lU2a/PWFWuAyfl05IsTUMG6LCZT1pt0nC+s/+y5f01+F\nXZpPr70upCkl+52dxp/1KtNvHx5QVdwGb++0QoDcZLXhF/AE/q2pGlFBlQEF\n3QwxLj0FQ8Y4JDyhgoef8JbU8orJ9UkZGqvWWqfK4LLjViNqj7bajS5KQh8l\nZ5uktEYBQLVYDe4mUnNxYqWIceCPC7/WMWu/qkB4oiS/PzCXAiQigl2hFLC1\nrFG3MYAUrFiVSPUB3rS7WUxqKhoX4Oih+LpcHNSn7MIMjE6hN8lIRxk6tlJM\nBe0TpITJ4zFk4peQE66uJUjr+eQThnXVdIu+Gu0SPUx7IHnQp9d5HN7NXZpk\nhAsu77ZMPqbW3j/gm6kmT59uhgUuZegD9J9CApiWvojlOuzQ57YQnrVIRFtw\nVima+ty+bDPruM+jX6tmrrBruwShsj652Ols4q71CB2jG/QP7K+NEoSp9hF+\noY5wi+3QNb5coxj8Vwsonr6SbJkC+A/xwZ8NZ6x/oFz5OCyYpfpFMKsPvzWr\n17snWwpAxiIJWhZ3HlI0YuOShy77amqZ0sEXjFtRasGe6iklTem4Lc9BQW+O\nnIzoWgvDOGoQb+oydbxceb+et+IIPNDOqzKOBL5jX59HWjTU5cjnEhGSCkyh\n8iIb\r\n=+IiQ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.0.0_1637042169067_0.6948422629301572","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@vouchfor/uikit","version":"3.0.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.0.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a1307800f813511019ecf97ee89e83a459d263ba","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.0.1.tgz","fileCount":168,"integrity":"sha512-LUBd5NSTs2+98LK8jg2GDJp4ONSQp1+5Ls1cjyrEdV9p5CvqF5Cg2tBOV3vAL1kN/iRVKkXlnbj8VZhW6/Mn8A==","signatures":[{"sig":"MEUCIQCd3sRPmRoPcaiFljPYTfFjFMA9kTmOL7z56B7I3Hy+GgIgSDbocCjH1EwT/QQIUGAGXscPIQgiPzetCLwu/4LK3aA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21843762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlDKRCRA9TVsSAnZWagAAFsoQAKEFcXnnyA70q/ed2cq3\n5VhNTpHWSs3gli1KCOxNOBqpKqTUCiimUTPFeQiF2Euu2ctK3PEtVOXTv9e6\nnbnWybFrpG1YCbKbn4UUa7IXpuurk8UWeCNGNT0N6QMTuXDnS+TA/BaGCRba\nelH3bKkjUNyZgVDYpfdQLbqQi1w12ZeXwz0kMqZusI1ywmj4Hm4Qf+HXMvvQ\n8BuLJnc8KHpT/Kfrx8m/+UvbyJVSH3rQEr4W32lFL2O+6RtVw/QSh4yjmD8p\nEhzVwIlxKO16AUTKMFrdBppa4f8+wxBR4YrS9FfhYRfGp9QQocjEgOdipNVt\nQRrTXCOdAXnsLuhSGXaiJh8RWaFx1uc2DGAxqwTq4c3ryC+QaNpJRzPJDkiQ\njYpQ/4ZNNovoWZMHSxmDp+JuAMMVlIxw1WwfXn6Xj5QyqK3/EnYgik51Jrow\nBhBzQqlM2GDQKfq9SkJdrX24E5c7iIH7zSPfToRJ2+nzXCqnKheayBPymG2Y\nm65fFxinZH7yDw0qfQK/RUb8KrbRlTL4bIjx3LUwkv25dIuhNGtIErIVEGIb\n8fL6iZ9RdtBMIGGbDFV8kLWzUtJqlnebvx/sxPQgSxSLMDscfpR1HvghpVpi\npD1ApSZDNDqzz6e1Ag4SEv28zs7wchyzI1vfIjhGrzSZ7u9s8WdqsTowyWWa\nQw5h\r\n=8KK2\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.0.1_1637102224840_0.09443219827637805","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@vouchfor/uikit","version":"3.0.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.0.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"fa8e84a7fab51797190017c14255c251a71a9311","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.0.2.tgz","fileCount":168,"integrity":"sha512-1I0TmOUSQWtW4IZYItKDtnZsebyI3DgEe9A/kltTxHV0Ni+659qZl/ZjBH+k7f+HegZJMswOvLtSqCSohR8cgw==","signatures":[{"sig":"MEYCIQDlscsmMXJl/h89iM5q3HmRZrILWl9vS8DRQ/u0f3e5GgIhAOB7Rpb51qW92co0NmIh5GSNsPEhkcLU7ntOfmj2pYb5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21843096,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlDLwCRA9TVsSAnZWagAAYdAQAIpcb+WYKZGW+oecUT1s\nmB4rXFKs3kaAXwuYs5RBVYGx7Abz3ljbAPzqHlfhUmjei6bkWssGiIR4mzVD\nTx6kCr+cIivxlVGpjjFRX8RrDk+IaraPSCroyDdYABplKFhM45+qDHlHEiXO\nQBdUP0rQoBqdGkX1LIwooxbE3iwKkwTA7jNtkcW6Jj4Uz6DOav/VJeeTXlMZ\n3Sg5axrH3tP/Rrotgc4djj+290Bohu7ZQL1XVp/n6OrX+dsIFY6RsWq3ZqUB\n6dOUG41Uos1YDkt7bWI8L0HTULR3E0Z79GjdIDEB8tQx4K5sUkthLOwEfvBP\nlpMUtD9ZtggCBubsdirvcyJmoNbdrtMdFSHIpKMeIjpGY6DEMgdDFtsGQk6X\nvwCpvH3NEbAHqLIovy8RnY1fMwn8viHfCvX16i0YsgeXwveataASdBZ+6tuo\nc+v+7J4K4KzaLyAsgzpOegZLcXZCMWCbs0mSf89MHBY2u2XwGlL+Lo9uDLfT\n5YzuH+B4apkAB3meSG1/6KUXXzsQKvqJiA4p1t5fZUWecbUOcDhymoFhJVBh\nu7EKAd/rMbED+2h96sQZu+WVXu5M6FlQHpvc66eAMdK+puSwu/1QWaWI/fBJ\n/OX9b7drEHqoNECU6H+vi1z8z7Y3FpAVcEfY2J864KFSW68/0cYyytjfoIgC\nbMmz\r\n=gle6\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.0.2_1637102320449_0.5611129475673577","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@vouchfor/uikit","version":"3.1.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.1.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6bc1a45cf3af8882ea6348acba463abfb8a403ed","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.1.0.tgz","fileCount":168,"integrity":"sha512-aA/jJ+bL8WJvx/E72ic1B6dxNIo05Tf8wiYXHFOHxg1Ta6c68FLcZGV+E3+SWtPws1eC3VHmMZYEotkwl7fczw==","signatures":[{"sig":"MEUCIG/4Zm9BcFEkqLYdnYa3bAe36bxRHVxmjf5Yn9JIIMvlAiEAo3ZSRjvBN7bkG72htWnk43GqKjSxlUMHqFUDhH0oFPE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21828062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlGYdCRA9TVsSAnZWagAAVTYQAJi2owc0JwCgNP92oGoD\nln1ONXggGQYFe7+IhJqCgmETLGbB6Ae0LJY6fH2s47zzaPhW8jbAkaZelE/M\nWNGVu7U0wRbrKoeoa+j689tIQ+UoucxoFU9LiN/RaHL3dtNOvSx4khnOeWy/\n0sE2U7MeyvgbR2Rn5EoWI+fwaq+Lc4itY2Hni0lZHWrzkyCpTxor4LNBSBf5\nbu/FNbHLmJqjYvcU2Ay9Ag9i/kqzJ0OAyHqy6cFuz0mFzHFPCMfTfpc7RUHN\nySsMpGPMgynylWWGsUfWWIY1wzu8MQT7And8JhJhb/oElQzB57xD1HAjq12T\nOcl4ekYVHTB36csKz145WFK88eleH5Z3c3dAjTIs1kacyhEbXAASfQ4zVIXN\nT6UuCCdVqTPMiYlCckunryYBxRNyMCNmBVdUido6EX+wz2esaW03RnnKtLJ6\nlzS5q+1usSyHkK0w2y48bEc/kuDHznQS4X/+Gu7zdqx0CrwLUR82Y2zt2Ax0\nLjOsRbheaigj9PXFrcJ8PCNusFodVzYQTh+WfAFSPUPdJ5kWzITaMBqpKO/9\n4FCcGZ8AIZC7h9AXY3/FiXtDahCiwozSmswfqLt2r9W+Dv1EDW+7R3ngyrs2\nGfxhB9p+H8L5wupzRiQd4wWQqfwW+IKKgMXjdRl+hy2OC7aCcyCkOU9A89J9\n8UVy\r\n=cMbL\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.1.0_1637115420710_0.6959910395863242","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"@vouchfor/uikit","version":"3.1.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.1.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"9066a54c0a9c4249b5c70574c0db547456b2e5b0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.1.1.tgz","fileCount":168,"integrity":"sha512-XXDuSIXMjBknqqKZAhfkwS5V7FyjNdybQCXhojHnnQyP0OfrLByxXCAJmi0YVcujz0uZjdyQL3pR3mfnDrxr3w==","signatures":[{"sig":"MEQCIE6NVryESnsfBLF7oKUE10JAChtK56J+t2yJVINP9N6xAiAYTWGynzH/SZcMpBo3DetV692VS3hb7PCJEXA3+XV8Ew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21865926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlGp+CRA9TVsSAnZWagAAS+wP/0IhACUSR1sZCEPsmWZy\npZGM7qdJAarK4HkMWdS9pnTou7bDuqYOuUzpZe8rZovUas4FrqyaU7qDBX09\ns3blJddGJF4XvS41utpzAkc2Y+TZvsPN3mkiBJsX9+75BjSPvJI1ogEydRXd\nABRrlY40fbd5IVUJt3XZpNMoTxRXZdG6uJ1YfemhHGg5vDVC0URq+ue9eu1+\nciRQsb6C5weuo8GVLyCMc2hDOW6EJvwH65uFWNN76QJFh5U8+CX3pYD5KdtH\no/qszwCMrIfuVtZFqU1xiygiUUIYruCNky+sjRBaUpDQuorGRC3PQqOSXepp\nXeTSXWn3O1Bw9ItNAlQJmkmc87YdkBD3BRUPxDPiCLJ3cM+MEO42e2S3fh7Z\ntTwzXEpYQCWeVcuHyeZV3ouDEfuq5OfpvFfm+4wNGcZnUsQjISdutOe55tcb\n+vXJjHmL1swQLEb8thjc8UAs/emAmeMO8y7DU4y0tsoSwt/R4IAhWbeDqBnH\n50vWiSv2w2HFo4N8TbJs6TBgY3VhA33ZOFa8X6Jx0yS9APh5QFUWhWUSyIa7\nQ6g14LPO0t9oMQKIYDudYLGxAb0OS0kyTq7Y2qwGdWekzpZjoyMF5IvNW5zp\n+9YmGCX31lL3IHcMnadk+auJVAQ4hbt5OC/zThZhqtQFkM/EoUeYvKVxQZug\njTTH\r\n=aHRu\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.1.1_1637116542183_0.8139941538971902","host":"s3://npm-registry-packages"}},"3.1.2":{"name":"@vouchfor/uikit","version":"3.1.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.1.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"aafbd33b4489190700c4f9c2e142df9051e7681d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.1.2.tgz","fileCount":168,"integrity":"sha512-PgDlHBC+ZM8nnAgKQ51+7dMLXW7p4sJZJd2uQoAfFhiCckrsdFWnAldEoCAY6C+rHScfQ6HTHvdRuCuO70Bs0A==","signatures":[{"sig":"MEUCIQC4ia9Y2IJps/5WqEMLLgBFxe6/BVFLob9GDX6G/Si2+wIgIdUJnJTP+2+rOXjTMBMpu3wmgl9skgz56tP/KoM+Wa8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21865260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlGr9CRA9TVsSAnZWagAAwDcQAIf/kRJ7xCfN37k5pSq3\nUoXDhjkObyScNAUZAJJXLfmXmA7hLmUUeVIjKXTR/1kNRH/rgcgAWH4Hq4xA\nnNk92QtY3F5fnpozjYPVdGtPCj+C25qHpTDVmlNSFdkf3jPR8KvO0HnhTW75\nM5ewoQJCIQJRgoGwp0SsD8YPEbFq1IIVN7siYtgzVtHQmYi/Mfxz6ilh7JZS\nYdz9BNaLFDydf5pLdrW/jgDtWU/gowG3MCMEtYJJPDTXzZCRWrhaDIfK88TN\nXjqeejA3y4O+7nLJ4IYBS0wpxUZN3veS8H+qUOMKUa7zyaG2gtlKBsu1EF1T\nN7YVmc9NLcGQgIT6ZDt6xExGR6ovoeZuZV8QBNSo+LKZjQ4S2Bv/oB0NjOR6\ncKb0N1q6rDAfVg9zHKJvCietgx89VLdPnbsNQ97ZgL+24V1jH9fOOySDgc9A\ncXA7teXHVUYluoiOU6euxbL4/pTePoLcrEvPJtpPDVlbifMqBGQZeXw4vf2e\nRLolV1pn7uviG8hLIobsvwO0Eewkymvgm9oMefsrcqnKd2rYuP/U2D4J9BVk\nsu0GLKyGye80vokv4DHGHQmwSq048nRhfbfDlIwcR4jXNq96Y743i/yQ+vz5\nVcHoRSEoFcJWCuRcJJI5kQ4ncKMcrcGBhAeVYAa1pIvLm95/MYIkX25IJHsl\nta5J\r\n=djGV\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.1.2_1637116668889_0.7860015527468667","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"@vouchfor/uikit","version":"3.2.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.2.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"aa6ea0156a7cdbe60df140cb19037a8358781210","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.2.0.tgz","fileCount":168,"integrity":"sha512-X1vv42yIFebnOoylqVeX8yaGy5sqoBK5dNl4gVG0xdEd+013RIGEgKv2//kjkYmfzQWgo043sZxz32IaNC1BMg==","signatures":[{"sig":"MEYCIQDlWkDPnL6Fh52wiosjOvt1as+b/jaXh+O4G1hV4bSrOwIhAOpdOMt2tPqcVGXnNaLzWnLwasbcZPE52VHK7ordxnFx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21833788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnCJYCRA9TVsSAnZWagAAdtUP/RaJoPqNmcG6BhQiqTKJ\n9XgvCj1292wmQ56snXh/ZN4Kle9+pDMKz6n1z1zL2P45j6U4elmv7ccnLhMA\nKWKMTLYdW5pRT0o/dR2LTlHLboTn03ui+KwWpEOnIROUwdmwh8N3qM/NaAOI\nTMOCWUI0WfaVARe0wbFjW0ze24n8G9IeKUa4UZnTpcvmRkLF0Cehbj8zpSI2\nwLy8OKbEs58+QGvNyE8hDKuFxIAQVzHT4pDS1CBpj8fPyjEfZp+wR2CrwMPj\nNswknimkwGNefFj6OImK7nq3y1np/XaYngMigD9+XGZp8CN7xu8dAKvzxF72\n8uGpAl40A92R6ZUhIgF+EiTz9p25l4MZtPYsnX4L7fNeIf61i23lm/qR3KSa\nJUWHQn4UMAuXJ1dTN847rMjxq5C03S13PRKlJMyeHPKh74SeWW9tcE0Vt5Ty\nc8sRjiwB0rsBskcnIsCTdSk04dseKqOuCsdt7Ja0Cg2XG1ahBzBMCSQahuuO\ntAGMp9awstyBn/joe4KTGLys+/cePBn2THgI0MFZkRC2GDsIRs+Jpvz3xAwx\naLkL3kMgcs+v37TgFnxFRLslALt84H1vP52LO7D9l3rAcErhdCotw1xaOtGK\nNQIv1/9KEbrIvqRI06FNJ2IduErFVxQgH1nxohpnm9jkYRq4e5v3ObpGUhLS\nuQrQ\r\n=aZ3k\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.2.0_1637622360696_0.9016535503909806","host":"s3://npm-registry-packages"}},"3.2.1":{"name":"@vouchfor/uikit","version":"3.2.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.2.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d34a6d1de13fc5e588a904661b7e3dbfd9905a5b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.2.1.tgz","fileCount":168,"integrity":"sha512-PKJHadeyt2jHoWPNFX2DNk4HgfVkaDW4Y+uBTAGeOUDafhPLeHNShkaCzMECdiseYfbv9UlMQwQAsKPzYLXJAg==","signatures":[{"sig":"MEUCIHFIaBeHO85FgswP6Jjgvx245XNY4Zsb5BqUjbRkckwvAiEA6nvv39ujDCSqXewdlBLWK1AM0Pf7WYNfNeHmWKD96ZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21871650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnCgBCRA9TVsSAnZWagAAElkP/0QNcNw1GzaLFDAQ1bsS\nwOnl8u1yhdUekOpLiizfDAuHW0a9HvhFSC/G6TuTMQBXNuUhXSzCFnX57KvC\nHe/HwI2BU0yBdwbb65I8za7RM+l7KGSHHiIVVOL6faDjefry57QcdwHj2oty\nA0mjYQHPq30OG9WcASjCemzTQekeIkytZg/XKCLjGect2zsvlU7fIHgBJv3v\npXC7mhM/p+LNCNBNiLPAljfmFQZllr/vyyUoI8WZtjqQ+IU5xcJnW1QMcniv\ngAEv/Hbwp7Des40+iVvzC8EuEe7SjNTrepbvPXZ0c6Wd6VhWq50zMUDKB/Vw\n17XSI0jEvUNfdqIAng5N/q5VsFhofW8GsT4hca/m57vaSlIsEreu23SM79+k\nkMwWnlan6fP08UyIDVwh6eyj+R9xX6mZPKIpFMwivAgbbJMz17RbJ0J1rErv\nTkMI+YWmmASnN48uF2iTHVi+sz9iNua/UNfPPSs7vvU6iPEA/u5zHjzy6BxY\nq1BgqzdyTKAS0/CbxyzXhIZ/UB41H39/rUTl/qIhtqhemqPsAQqfMe8yxcYr\niO1erLit8ij2PBSMftMHlAEcNlm03i9r9nNWM7DbqmbGZEtdp82yGoGaN19A\nDiHzP8SEt0cKzRhlUxgrwsNsYxuoJoDtyj5QoiCuls2sQCvPr8bbMZu/qvCc\n6O3m\r\n=e3G9\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.2.1_1637623809574_0.44428158719356037","host":"s3://npm-registry-packages"}},"3.2.2":{"name":"@vouchfor/uikit","version":"3.2.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.2.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"382391e33bb44b59bb5a465d698c11d25bdf720d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.2.2.tgz","fileCount":168,"integrity":"sha512-ZLu4SgS7LKett8fGsMegH7s0bUaylwzWNgn/bR6Al8JS+NjecjZlRckURDtDyWj402/AjbU14FuJ4oLGZjFzJw==","signatures":[{"sig":"MEQCIHujb+uSbFjIlyNKTeIaJGAF6nE6FVoVoNa0fyWRmV6kAiBIGl9dj5Z2w1UqjBTTvEKdPq5XZbC06kpjQyie9fqQQA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21870984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnChQCRA9TVsSAnZWagAAitUQAIMmLLUdBODz5fqptYkQ\nZ4iteTM+9jNvs1WxTfAMOl2ip/5+A8GnUX5c9TfgmeA3oaSUkR+csGqv9Dv+\nG6XRsi23i7N7jndAa4xqTAKTTqZEfVsDB7zJd107pA+y+HTmXf28QBJ6w/Aj\nqciZcn3sXeUu32RsVwS7J2RCd3K1GxI/yvkvsR3nyaWK1ywlL+tBwYnMh0Gm\ncaTuILNhfAtDB4sSuS5L+8FNGTF7AUcJwgv8gH/FHFkXAMrq+HCST6ULe51T\nYmPvKvjNU/72h++fpZ6DHPKGjLjH4Lo6bEuc2AOoCdsouxEV/C62Dy1Ah1sX\nS6jJBSe1Y/Q+gk+TcFLtyhOFlg4ZvAy6IUeINaLqV3RV8jdrmUu9I0REP7QC\nQhUugI4KFkUDX8Rvnb0OI5MVDyCqxzLKS++/RXEysfo3rFF00PR9KWRtysmu\nlymycfdB+ZWx3Qfmrnc5LGWii6V476hapfOnNsd/1UrtkYd7KfTCgo9Dt//y\nDhPrqIjuTFavNMSUZMveayg9vnpLjEjVhFrkJJ+Cpt393Pb3mj2v58024KcV\ndJo2qeMh8Vj+DlF/JoSj+vYKo+sH8IE0Pfw5OUHpRc5NXpwgviPbFqxJhNaQ\nXvs7Kw4mzLKUx44zwqf5KneIR584TUzNp3BomfYa4y65Fq1myrJ4D4rPX0Ht\ndAYj\r\n=1Rs+\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.2.2_1637623888304_0.3327642727514817","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@vouchfor/uikit","version":"3.3.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.3.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0066406c9e61a1ac27fd0878bd426dcfc2f64127","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.3.0.tgz","fileCount":168,"integrity":"sha512-ZTj+aH4NC4604a29wClRJwOH2GiWHwJ7E7FuXQie080tDbqEInBqLuEwOHBW17tHVFKiHcZmq3SA2DJ7S8vQiQ==","signatures":[{"sig":"MEQCID/BMfXqrju9aqO+Jp7yjMqXSVVyb4I3QYJTvrJ6xLjJAiAf/DXdpHKudn60P+uWZlpy5gMCOHW2puQ8XUqLnmk76A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21833742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpGqyCRA9TVsSAnZWagAApAEP/2c76b0oT91QuuYTi0N5\n3IbXtFTxnPu92WsfF4cLFeG3UHyXdW8PGuj/AzhCVyFIRAfb/YBjVfl20pvn\nUpVkMG6tqiPC3e8NQCkJ0nMA17nSssY41kY6gygBZhg6ls8njkbeDeeDJxiZ\nRDEJm4H7YarLaQ/RW+aJn62n6AVB2yFRaJ/RGvSxzpLPwE/vzJ5O87qkywfX\nP2akyhBZJQGc132Ju6V5jSLRkFq65xGSlNNhDDflmpSMHQsv+U5BAc0aGsaG\nhoRMf4LmQPF6EWa0jq0wqEpmoDWFCcURJaetr+wIFj+nVEnKrs1PD8TT6xNu\nHOyQ575m3tViQya3XuQDxzTYAzzEBc4lUjYs15x+RdeZV5rgeY83QNcXCfUH\n/1WLg5NFs4ozSQEuo7GEb5KGoG5aZlZDZAR0hcH2S+D14kxSMQ1MHajcGOLd\naXksIQbHNNVOvMr+kqmhIfR7RYjovdmV5R87aZCDS2H2rFZw1qce56WHnJUV\n4csXej+nL1x2QcF4Vpyf9IioFvyUf1lA0AxQJSPgMWVUJb0ocnT/HNzzxGL3\nrVXju2+QUQKhgXzPfusDItfkzbN1Rjrod3V3Vm8NBC2ed3g5Bc7rXkPD30i1\nksegqILSocFzFKXD3DVashhLWym1c2oIXg/Tj22fQb4K8UCjDJGuiXQNY16x\nIBUM\r\n=01rV\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.3.0_1638165170152_0.7528725397996991","host":"s3://npm-registry-packages"}},"3.3.1":{"name":"@vouchfor/uikit","version":"3.3.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.3.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4c020d623b1b39172dfbc322198f197dc99f418b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.3.1.tgz","fileCount":168,"integrity":"sha512-2HfJ9Cr6z4a47a7rbNu84jhrp0Gp3Nn0w41W3uDOcrhR2E2IViP4RUq7uKCyU8Dgb03iD/E1q7+NKpkVfqOKMQ==","signatures":[{"sig":"MEYCIQCviTGPbt5sb6AHjepEquoeIHx/Jf4p4YhYMSHoVJmclgIhAKxkjQlDgE7GESaOAClgolEi5xLZDjayPNDSilBiVToA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21871604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpGsKCRA9TVsSAnZWagAAztoQAJW/gGHpYcN99N9cTot5\nqFOs8rmBhPFpRY9f6KWQa9upuIMSdQ2UmYNR3ekjzrMZ2R29GUVo4dEeWYax\nOn3au4hlD1Vjn+vh4syztUvutsYduqGyUdfIxO7MmlB/NP1eayMYxZHNX/Zl\nEu0QqJbrw2HHTxLuELIi+pkxQ7iMdSefmOnJas4elJqCgaesyrv4HrBX4cPy\npGMDjigqbUQDv0aTf6kRkuhtcZPrlO3g4ZudDOliTUojiG26Au76RvCUw08x\n9AMkYDa3QGMjEkvvWNVgZ026qJ5rbR0wcpLKXPqXT5pBJEoqHR4feyVo/EKU\nRvcTdCCtRj3HKryWVsWLWouvHJsijUnGNM1b0+nJjo7HIALl/a1HFNQMzonR\nScYWgCWJewzAhtu8b0JwUVF0qnTRUAC0ZmEPItUAi3QZGHT6CToSRExTJozA\njRUAc7zLRaJAt3sl8i8c5m3qGho+B28mox2+kStzJhh1yR0n/gVCBfJH0l0G\nOnncd2d9MvRUhlY/TAiV3RiUeY6cPh/hSCCn+a8XACfrcWMF0Olf29mlx5/z\nnabv0tVK+LTEzOm9bRSkD4jNWwRIYrpAiClpYQkRfguoCMGgpUkeT2tyoHmy\n/fhJQhklIeuZFuLpUgHCks5alOdS08auEILT9Ju2q2XIjrGLplgpJp1om5c4\nPUjP\r\n=3Dey\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.3.1_1638165257882_0.04173169953171718","host":"s3://npm-registry-packages"}},"3.3.2":{"name":"@vouchfor/uikit","version":"3.3.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.3.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f777388170b6efd3c21f1e6af8bad34d00d31157","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.3.2.tgz","fileCount":168,"integrity":"sha512-Jil3VA2aRlLoAbs/5RnqXa66JU8zRuhiMMKXJJSadIVpKJrnWMB4Wy1peM88QOFbbyE26OGX2VDFu1ycD1i0ew==","signatures":[{"sig":"MEUCIQD5S0blDQLdRuRvRcGLo38pp+ZUi5ufkjG3DMKDDdarWwIgXvwD3LJHesxUXO52uiwDMiEKoiKYTom/dvjoltA/czU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21870938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpG9KCRA9TVsSAnZWagAAbvsP/0VZMex9cPVBJjB8GG88\npGZjgJWy9bt1qY4Shf5KX7H9WPa194j+Van412FsU8eZ63KCc2kMusSSj7PT\nXoSKU8rdLmihYCx0rMNQyNqDszn/yrohkd4nPx0FJO+R5rQcDbJ2aMCKpoah\nQZvK5WDb8nhGuhy7h1FiXLP69QeIt3C5+plJiDF8znWDs8u2DhIJpPBHderm\n9/j2m2+qFJgvhtE32POSzeIP1kltzw1M6ly3bdH+Bttoak4Ib6Y6AAvBjIT6\nK9Hy81vSBrlD1SfSHSiu1aM5FaB+64oum21eTR8o5I6SMRR0D3CNxMdCrzLD\nnBwCQ7R22Q1CeFGHr39O3E2HBC+o8gpW/kLXNFN+qjcdwv49SoL3EHEwrpHi\nUx2US8NVZwlR+NtDHZN5bFcrEq+Pyw8hRcQv5CrEChRuJ1ZLDfYnYbGZbqWY\nc/UwAlyQ7pOa+FmVHwPmsf8y2pvHZfnvPFhIvU1VEz1PBKsl6a149iyR86AT\nqCNF8h3PhpwNyP1I1tN34QZxj6W0NYcgh977XJKiCQ+Y/jyBGvNq55D0ABqV\nb07+k9G929LU6eAokf/Y/kcXuwQnmZp3njzc+IYzf+zhEUbr/IPN4R2fmB13\nN/FaUXocMDTvecpWX3g2x7vFGKbQMbaGZxFD1Ke1Mt85UtrwUfYW5vJK9Z+P\n1sRM\r\n=Rr7a\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.3.2_1638166345760_0.8061577564742921","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"@vouchfor/uikit","version":"3.4.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.4.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0a79baec8d80181616a02d3bb6d09f241c0d89d4","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.4.0.tgz","fileCount":168,"integrity":"sha512-w51lg3vhib/0KkCTt9w+q17gEmzXwI8KlT6CuZY6PRPZxRgAkpGCUcOy9W7MqTI9qu5qjlb4ejQN608j0vtUMA==","signatures":[{"sig":"MEQCIDlsx+V/OW+kF6mkY3rP168Mc6hfnKx+qJwy/U2X2aQAAiAilqiFJaaEvco+ASzp6kOy8FIWr1c+3C93FYXf1H2lkg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21836640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhtsAgCRA9TVsSAnZWagAAw7MP+gOhwjCQWeRcx7ys/poV\nUadKB7cBRBXg3jHDD98rCV/Pg2g3a9oBVsIhsDY41fXKuO8sVZOo+EiRPtCO\nNbtkuBOnlfRog5pKbNy6mwR/hVq9Rw2VlOZi3ugRqKDz6PTKL1ErZamY/GKf\nahK53uji1FFDbYIo+QqiPgYkQxYrqWnovPRLsjf9AcK+/Rx9nZ7Jf04V9x1i\n60KpBl0eUwThZ4SGqHO59vbKx2PTVFD/d6/BQdFgKUgR0rkAd1UQ5b3Ma+DM\ny06MaPoH/GbFnSARsLOgwgMt0JPVvQ6nQUepbBEnjVXu+tui0428JiV3L80R\ngoqk0A6kNtnS/yKyZ0+aUPfMn9UCBgR+2Td/oywsv9osfb9BlXiJcTd6gMUD\nUwtN60RjE59FrgXIABrItXJrx607OrBGLdDLFUnr5j70u/oC8f4vuKXZ9drd\n4m2w04geiDqiBauqS3QE7uEJQavfPvHcw18kkefR3cdLwVC+6qNeoX7oMJO0\nWNxU3R1SGxaZrWVl4nD0RiAyfbvEz1Qt6DF0AY8dhcy3S2qHtJNKlU1PeFrP\na/NGyd3EwVSHxQ0KFTN7nuhd6pql9o0y6f6wab4o+/2Ef4KDWygH88cxEvzX\nXRFdkVsLEqIk2BZdkW5+DEE1sj6By28HK9aIZ01zNTdcjWZWO+XZKGbbp6nT\nTnGU\r\n=VcTv\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.4.0_1639366687636_0.12028873540087903","host":"s3://npm-registry-packages"}},"3.4.1":{"name":"@vouchfor/uikit","version":"3.4.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.4.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"535c4e597059e30adef22ae63d5091d827802c7c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.4.1.tgz","fileCount":168,"integrity":"sha512-J4X5GT5IYCKQS/kMMg1sOmQFcc1SaEfzxtOZJX80zp6P+0TqMCIOIPr/1ycOKSAUpxuHkINgoZlzgWsb423IZQ==","signatures":[{"sig":"MEYCIQCRnvceFvcv0gaACjTiKGXBuCMgrrf7romnHyw5UOCebAIhAN1qLIqHaPyKdKb6NMM6w3FiBBn4mBclnOiJvhlOpapV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21889376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhtsBrCRA9TVsSAnZWagAA3xwQAKI5h2SJpUDZTM9eQjD4\n4BlNHEQl26gHPY6ewpj436RquUJDTirPnhV4sQ/YJ/FXELSpKP82bnHtKQTi\nRSIVOn0sHS673WlfwFY2K5jT25am8fC3iv+NWnQMC0C/SZAgP1/H3Klut2zZ\nw67J+GYEHd5w/R03KUBbs3G5O8UE54rZsdXakfUYQKaMaL+V3fg81aBtdL0G\nYZZJhQcbJ403VJfmmeUciaTfSRDTf7bpt7QtqwnvVfy5eBydV3EyvrbD/HMh\nKSG9jQcREUQLHPLy6U+3+XUOgwIsza6+GLF0bPE4CCXv10pgMRUJ8IrVzo3u\n/4HPa5rvp3AzcysxjWLxl7kJndiZbkAimc4aFhgp3d5z7GHqfA1thyQxWSdU\n0yj5EY8PwlsPI6uVBPUkK+iIxwNa9TCnykASMwvbGbzr0QLDCh35744aPdC7\nBzrCkexjqGmE2VkO/QtwhuXEyMlBqyf/+u3/0fq9C+kpmlR/ksCzvY9DCkFH\nyj64a7wOx8wWPmP2wwjFuxzeExxBo3nEqXrEeeANpsQwFT7j/5xSCcm7m9j4\nReqDTkGZycHhCMgTNJROeVWAQRS2oUhax/UTlV8SowRklt1uVxtjGYo9EibU\nvBRn7Hx1RGyEqWHQdxhGagUaIhIu9H81TImDFRcgv4+USD25h4PSzi9vBcIp\n0MoZ\r\n=OpHO\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.4.1_1639366763234_0.48504128798795554","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"@vouchfor/uikit","version":"3.5.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.5.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e14c74861f4f05442df9c9d326c6198b189ec4d0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.5.0.tgz","fileCount":168,"integrity":"sha512-XiXGClK2gUoLLGV47SypjokE4SJKzS1zfqZPRjyjAkZYVJUpBp3broTXC+uOtGOxjE7tfCAcwTZlpHBd35Kpqw==","signatures":[{"sig":"MEUCIARlzxoP/6GC9s82NZOQLkXYStpokThSclwR8g6tpNEEAiEAhMZ3azvHsebK32LSrvKX8d2/40Ou1ojqfsSZRoCs3Js=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21837926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhtuKKCRA9TVsSAnZWagAAvAIP/jQduUH7n+zN18eOXksj\nwh38Ep9lign1dzz/HBZc8Nl0TBK6s8FmKyrUQJeMBjkaNoRpdrTIgEQfuvnA\nQavM+kmgNkMJOBPqZqGviTrqU71vSpTf2cmDeAUxalDlliSvmKhQ4kwdhe1n\ncg2FLWP/i4RVH/lSnfMuv3Tsld3wjBrE8TwoHUJISNglGFbiKbFvBGplEX+y\n/pUUictC2absnjK3yaO4ByFFD1xO3Dy1QIYOt1nHD+jAGYLKQixRBUTEDeAN\nUlHm1N/Ed9ypguF/4u3N0WqhKyOkqp/zf5+gzuY6IsDKkeSAza/C1J8H0F24\n+FoWWuMlbxORZY8VaBiwALS4DIJ02EeCyYOxQ4es/rP8PBqOwu3JkMFmBfXI\nYVp1UCAXh2R5sm9ylxFKA4Yg2t+rDri5aEnmLEfFDk3OejVZx3nJ+9nzq+N8\n+GD39SZUgwFYlWqXYE628jaZM1uC9chAo02p4aDFGg4kG9N8ztW9qA+YZQOw\nn8ga9GdpYrSYUrTYLP6Xi5b8j9xwFy5s9hyWtZQkF0Ze02e9rHOsXQl/q90D\nKJJztoIENHm+TbiJQD5NJA2wKEILcfCFwn8Vjk4DeyQdtXUvQxDtFlLCxXcW\nTMdrpdABXmbpac0IQS0OHl4//9AumKfzRDXUJpaxnpkWQVNLy/SlAd4LPwjd\n1U1d\r\n=GT1v\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.5.0_1639375497750_0.07399447574023732","host":"s3://npm-registry-packages"}},"3.5.1":{"name":"@vouchfor/uikit","version":"3.5.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.5.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3b5f70a7519c37518589bb9f9796bdbf8dfc6525","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.5.1.tgz","fileCount":168,"integrity":"sha512-JegJV5WL6dD/zXO0dse93kQTR4XvW7Kd8QVqNszWdfoq3toc7yk35ivsQ31Kxj2uACC9Wk2ygoAMrIety3LV2w==","signatures":[{"sig":"MEUCIDZdB+2vW8gcz/M97D9dajAm9J+MxMNRN2PThW+10RMgAiEA2pB9Rrl5dAKrwMExwHQgz6iilz9cutWQt891xGC3FqA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21892146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhtuLaCRA9TVsSAnZWagAA7BsP/AlSHJy3XoqJtflvMsBs\nUZXzyPZk7yr1q+kxjFG0HsQxT5HYJcdZ6EdZwKvyEPq9b8Lb5suZsO5DJ8Zf\nLyR2/0GMAbKkUnam/MbUPa6obW+U3k6VwrhWLGp69j91ogwMOXfU4v5Z8nFr\nVOnmaxH8wgAQu0p15FvNzuVNxQz2DDEbhq1gJSQlEGTOkURtnGP+rDxthgSW\nNWJdUFEkqO5tsKMo43APEl5FjPp+CUVRsabEsPnkPsqkQA0Xk9BShEIX52d/\nwmFQs9fncDVz8gevXIlksR2JufwWVnyB1p577lu+tUHOUbcq3xFrbmTB16Nv\npxEwtIhu82jcqxQT6zvO0wkLrWdWSM04/trLTct2sjeVh5dVbtupkWNAWj1a\n9+Zda18o55ir36v3Rp0Vpx9UYYCe6NlwWA2ieJ+LTNSSuKYomM0ktDa3E94D\nb9m99ij7fgaHsvEkXpWZxR7aebwmVWS3XnWHMwyV5QESpDvXMtskfZRymSBv\nBp0nxZHAfo0jLV0Twd3iLr4XHISdoCx//J6rHKupULs4iqJIf6MbVf2uaoTc\njHTLcmOSp2/SatY+p9IZbnuzNJSaSS3ehU1UEyaNElc1Q+OqO0t8OMgCycQw\n25pj3083SlIYUTI3YBheMH6w6GYNnH4Ehmpbl0z/s6bBk7xls42hF9JYOdNi\nmso0\r\n=tkpR\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.5.1_1639375578289_0.3832302185063863","host":"s3://npm-registry-packages"}},"3.5.2":{"name":"@vouchfor/uikit","version":"3.5.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.5.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"34a6680f8b9bcb9b7d9cf0549e822e8bee73014d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.5.2.tgz","fileCount":168,"integrity":"sha512-5SyVwmdHumOutFPPnERMMfs5SDh4Oj2JbFhJesZB3TED5gXKdiiZ6ulmSfTGFoCo9J6eRVzw4aN1c1SwAeN8/Q==","signatures":[{"sig":"MEUCIQCSU3VVymyKOGZk0ZxSN4JMS6FDl/g+ZPO/zBy36Cp3VAIgU/FLiY9Pi9oVyEPJRQDyGFp2G9IP9MLXGlFclJhWVfw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21891768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJht8zOCRA9TVsSAnZWagAAG+AP/04J61Di9v/Rge00WxTl\nNIkfrPdYk96iUV0jC1svMc7TEgH6coDs+TotMlfM1t6OhmtvO5tA1TDtGyRm\n/67cMLTQKp+KnNmoGFoJSNE8DAbhIh6ZLXNwPzS3W+tvn3w2v3Uq7N1BEAqS\n+5Y4UpRVtmD/tAu7g/oeBm9gmlXcngzlbD84alBO8WviD8zXhEi/XZ3oImIo\nDzEDVjmIaj5mLtSj/g7AMPSByyOrjuROldbVElNTN20BkEg8KPHhOvHHeKwH\n7g8uZuqP+dNDOa6sGC3kxm8a/hkHAp15r0IVedu9Y5Zk/Vp9b33fzde5ucOA\nPg0QvD7+9lmwHHg/2nWefPcxVXwQT78GJd7DSMPXrLO8wH+SRfzo0PjH44Ii\nqmi3mIX3RVXqt12smyfpWigI/+XSItGxRrrdE4Lz/oz4mNgYco3NGcbpLclq\nF6KBjPey1/CLPcFLvlIvZQg3FECQFUV1l3ZnePKQPTnjye0X9XihEIugQtC3\nVG/30vkRFo3HCDo/F6ChgoY2DX7BlirOH/hlfKxMWDGcWQJ8JBhLqRzvE3W1\n34lwAf+XDS4L5z7BuQAEmFObpBWpU1zuoKnDNcaODettXyL1AEv9VOESmCo6\nTti2kBUt6QKXZ8bF0KfJfcD2rkFbb6MbdcABz5IZVNiqIii6wRJ4NmR841aF\nOsFy\r\n=ZHDW\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.5.2_1639435469988_0.30981700539848345","host":"s3://npm-registry-packages"}},"3.6.0":{"name":"@vouchfor/uikit","version":"3.6.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.6.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f765a810706464dfeefd6de8241ca4454e0d4944","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.6.0.tgz","fileCount":168,"integrity":"sha512-hdlpj0TKEb9YSk4EWpOE0upJWgmmPJ8z6IWz2xuCwi0QCgWx5RJTzO9oXE08l9+VLXRD6+aS3ItGK68ofESRtQ==","signatures":[{"sig":"MEYCIQC+fou0ncgDa/mDL5ytjwNxRLLm5hngXzAHuYMw5NvHCQIhAIausI/91DWP0uNVLg/VXPFNzyCmqJeguugmbZMGPPIh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21841315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwBW0CRA9TVsSAnZWagAAp8MP/i0pJXCw+z5BEThB6i4x\nna/dOYpl+Oz0PYTsCmWrcRr+RulFPN+eQCpbVS86VQ1BhoV9kjp580xm5ugw\neSWrdhdMrwSzheCjCiFaQfTw3AyyP1E2wSJC1wAx7zEnbq+sBvnq2VjxMKD0\nV6hP+8tM3LKoL65rX2ta0qzoOyX6S81MegWSZ8wJaXkShT5q3OpRpQwA+T8u\nL4HbjKKa6yNmp+MkNQwh/ByeQ+ruNnCnG1122gfXaMECjreIWbHnseB9G0CU\nh/hXdAqY3XZG1/TrzhRerNsajpaxI/5ZykHKgJ9oF2ceVoK9JqrLlhsMKw6n\n+/mIxW6QeDAUiGnG2pDndgR+j8gNESRVhiPnGiyJqSOwsW6eEASC5bZXLFg/\nmLPoxpGrDru/skyhfEGrDNhrnXm4y1hgSS5d2BEmWV/wiu1NVmgm13JBG89U\nOltynZnEoUUaLNnSCdi8mNjsfJYcolGwxvueRMfyDf/P63oypvw/hBk86pmc\nAqIP5Jj6OQl2vCezinXZUgwhOKI6MKxXkG72VMide6/yOjDpfLzYsoTg9zy4\nO7027InCt+rw4MxEiPLtJy3tnvbbh908aR5tkbrFrs3u/3ycZNdgHeVX0N3R\nPqeCGb6sNcN+hAbNtr2d2+oKlrO4H0R68xILGR677SrBGvmlQQOl4t25G9Go\nQfKH\r\n=kdCA\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.6.0_1639978419857_0.36897112283313027","host":"s3://npm-registry-packages"}},"3.6.1":{"name":"@vouchfor/uikit","version":"3.6.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.6.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b0bce7eb7256c769600377fcc58445e981d321d7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.6.1.tgz","fileCount":168,"integrity":"sha512-0ZXHfLq04qm4l9gFhZr2fjpLN4LzACwae3Wf1Bl08Eq0qSINYvynSJr6sJvhFnDjDsLJMhL72m19Sfd9YxfaSA==","signatures":[{"sig":"MEYCIQDfrhoSYeJK8oNUa0UMvw3q+4mw4wZpm2P1SAT0opE/3QIhAJ++awqhsgLhxfSNSkvRjQr/GMgpsBtaTDe0pEYoePGj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21841387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwB1tCRA9TVsSAnZWagAAFFUP/RMDLZQZGuFsOmOZ13UI\noLdG/OcRv/1PGHjcxIXuZxGp4mTaR/dqSpOPipW9xN1nDBEPC8uLCAc94EEg\nnoXRUQEV6oQZ64I6uSs9OYAzBfGvv9onLjr1RegQiKKVnziENGgLjqTGz1mZ\nkNfIV2/KHQAP0bWIGyWkNkQNpMd9KlWwlNUbB1/4Ho+BRJ8o4TV3TKEjoVtA\nJ8UYi9cGHyibGV6dT/3OoQz5a+j4Eh5MQmuPoZYt6ffwaqd2YdgVRGpH/8LW\n0Nawhlmqzz+OczXfgP/H/38OUkxikemPO2PQykKwRNGH8LbyYXtwoEzYPrqv\niza5mlOPpiW8F9Ic2IjZjGuDVgckrcfzRvjxNCo4SzkGTFvsDE44AM4RGUrk\nfeDEQbn7ZPkmHuy/URXT1Ba+ChzKCTtD6dZxpF9oZ7+T2U36LQdCNCg3b5sb\naoo6aEfIu0906iGQVbHt5JMyv5IK/Q66jRW8yTwVrXWZ136jsG9chfeVr7dO\nYHR7+NnCh+tzl3eqpWcggkF0kbEXn3NWkAJDPd911DQI+sCwSAH7ZL9hCugG\nU5RWAPt0MXV3p4b/cGpUzYpNuWnprvO797F4+q+pwS8SUzPmudWfQAQkXS66\nOHxH60WEtbXs2XlZHZZgTbZggeFItu0OzSo3Pd1uzf6oP8+BK5MBJLwUuqAn\nYkos\r\n=QMAC\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.6.1_1639980397046_0.2203715993497013","host":"s3://npm-registry-packages"}},"3.6.2":{"name":"@vouchfor/uikit","version":"3.6.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.6.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"65d337d160c4d77107d5c37773101c17bf545e99","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.6.2.tgz","fileCount":168,"integrity":"sha512-WP3DVqJ2fw9fEcfuKjZwuqZY+8Xte0+hToHuE/Rdzb9O/GaOodex4dPOriryfwr4tOHYvIxwsyHzisdhqFZKeg==","signatures":[{"sig":"MEUCIQCgWUza0ryLPYZKcWU8i9eL+fC/lqZb6WFhr79yHkhzMwIgWLZDbmo8krOEc+sonvpESc9+LgSVpHdPl8MnfQPa5k0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21895604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwR1CCRA9TVsSAnZWagAAPMAP/AoaQNJgXXwKk+69B+rj\nNBTgS8EAy5SYA/Z0PKSKppx44Ja5vbcX5ggBBLz0Y63LKXl0Eyhe/w1S7RXn\n4ps/TtTd4hpSzGzhbKrHHnKgphYg5PRQWdIia1M56DbaTs/wrOYsICgF38Kx\nZjKQj62YPt6YmABOpuZRYJmcnGztvMCbmwxIcoheB0vgdZEh/mYu9iqfDXVq\n1ZdL5ZEPIl7qjVs0X1+TIYEzaXlPVzkOuEy8lgM/DTDflKEi6QZ6Sb3KIx0V\nL/mw87RVS+78ZDgcEsGbItZubCjTfALX6gzf8ZAGbXHXUXDfImXABgVUuGzD\nZcp29pADwG5Zmn/oZBRzpnBpbuThvX4ZVnNGVrGTqAZk7j7WgzBwvpPlVfON\n0kfdi5OIijPMRBlY8maqnlIfQuEMyR5gydgfR5qDUN3SfsfuXbiDQNloT+E1\nFLvzZRY3WmhkhVwPC+IDhbatTx7J2dsQ89UuCVUMApTd8jx2g9Ra1GuYAJOO\n4vi+qTE5sgoJYipJ/DYX0G1OoeYHrGOLwz7Gy6NCx8NlqtqtmVyRyfMUtnI6\n6DnChD5RG/DBrKaDNAsv7yRtzdBQv7oC8gpM8JcH1jiYhTKFuAJDO7CJaYub\nhZ8pfjipsUk35Cg16Fu9FKl7qe31yCL/nIyhn74urVQ+pavM71Z8rDAc4Wem\nQfAM\r\n=O4kH\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"5.0.35","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.6.2_1640045889977_0.04613778372024413","host":"s3://npm-registry-packages"}},"3.7.0":{"name":"@vouchfor/uikit","version":"3.7.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.7.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"325c921396f0fb9446f2c606a673b935b38bfe4e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.7.0.tgz","fileCount":168,"integrity":"sha512-n8ggCB4U/cl185Rt4XI4RWhpWDAVwK24I6nhFcIOsfuKUURPcaxZGAn2UR3DC2y2GbBsk4pnI2nhzDsU9hhbZw==","signatures":[{"sig":"MEQCIGd0SSpzzAnO1QcxnoKNGnj24ZsCGVF+8D/oZ+fzc0nBAiBbmqCOJzlS+lQzJkRgSPDzNhmSCKdeY2F6gT9hQeykfw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21863698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1kgxCRA9TVsSAnZWagAAcd8P/jDsPqfAejk9yeVkeQAX\n8gAvCVrjGkJMAtpx5STdTzSs0VSIHOiwwu/zFUXuuI78DY1WgcP6jZAhTJT2\nnyizhb7woLu+fS4E96/wVnYB0lSnCxdbBStx2Q/as24MjLMua2LNil+QeoCC\neLFV+Po7Smug/0DL5QTUJVxLWVREic/nv12UK2kNRAXBgTvBQF4YGvuC343a\nflPI+ykGxy2+siF8XyonbJ3gMuG0mS0yX91dCKHPySPGOIVW3aXPeJxVlbHS\nKv+x1tga1yMDyR3raLRbBOP9CfcBINe3DuXbQg98XGs268lvAZXLd8qlVhk3\nR/dZu7BgioizImUC7lL6dgH1tmTCBueN2eDYqu7fTIYy2WDqMnx2ZhfvfJH2\nxVXPvGt/0ZkZL7CUYypgOVeigOHENl3wv6SoexfSbebkazRPylEhts7mt4sA\n8UYuCVlf8UNHQZRPjf0I2TEnWHGRBHpkHNghVH3X/0CvOCA4hNkmW1iQcLGG\ns9+ypPjhgqrXCIZReJQlIzOAxqxmEz4fQlVYqA0i0WcaE7QMaJ/KP/kfGffz\nn8T3g6AQe6Y52R7i6OZcF3FqNy6cPOUEosu4S4nM00bFcwy1hE3Zhf/3pSBB\nyqNm/k3IuI2KrXktzfAM3WBQwPoOke98YGmDasQAhjAujdYivr0S43otdn0O\nTnxa\r\n=D8be\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.7.0_1641433136759_0.8004712364676962","host":"s3://npm-registry-packages"}},"3.7.1":{"name":"@vouchfor/uikit","version":"3.7.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.7.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7d3d0baae56e27c9137256c4a0fc8c4ac4e2ddc5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.7.1.tgz","fileCount":168,"integrity":"sha512-rgrMeIG6v4xhNolZHLvE37sDzrWc2tPA1Dm1Xtxq3EK+TJEsR2FN1htGXG9k9I2IgxDXGexec4ub+CPhz722xg==","signatures":[{"sig":"MEQCIDbJ24OSrdyPTjpH8PmO/wjtzb2sHGTcPFVUI2pCrX/fAiBKrIVJu0+AnhzLUyIN2l0M654BnvTwL0F84DWetbhQ8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21917915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1kiACRA9TVsSAnZWagAAbZAP/0WR838Of7DGcgde582T\nW1trUbeTGZxaDr5FGLoXWXHg1TfyX1JyQM2hZwDKXQtfu1b6R9f1c4hTgZEC\nI6Q4lplnAYxJv/yRer4TA+FkU1UIk2jDa/mugeV3jDt3Aq82ywXQjFjI2wsy\nUxU/Vk+H0McHh3MenHL7J1kqdk5prbBt/+p7wW2J19G7XJ/YAKWkO06TutMi\nURaLNVbYQqzedcbQ/5x10U//5OJkWRi8sCyox/Q0IgBenPMvBDdOQrZmemz4\n6jB//OkMC8If0Z4hYS75rEkwrz/l2LB7/yDcLCCZuNFwRLqzvz1LiMLikosp\n36rgpuFgCVuX7ulu/exC5m0oFv+O649AQ/oR+UaAzJSNa3RholJbCvVSrARE\n14V06ltUbg+Rs243MtRhG4+nFwP0K907mkfb89VgoUHBTw+46NgEja8oWSUP\njQLQIRANeD8jL/h3XwAFWDUX5sjSRqrL15gx+8JsYp/OBvVF3gEWdAQVeTab\nfTkf51GdXMoQGesV05rBlbkVjBWeg9IYM+rHHTqUJD3Q379Ieu3bbKMfAVl2\nVRcwE/vqo8yndwLrdSdTJCbD2Ok1M8AQh6AR86nh/4iWfqDuIdsKCgDIuHAD\nPR1NmFH32/oe99IapqnVubbGULAmX/t/yr/fHALURjmAzB2YBTyGmGgrbKML\nXX8B\r\n=Oy1z\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.7.1_1641433216676_0.806708000754593","host":"s3://npm-registry-packages"}},"3.7.2":{"name":"@vouchfor/uikit","version":"3.7.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.7.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d8ec6e49f626a474a4ae48508d6b0f3eb77ae74b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.7.2.tgz","fileCount":168,"integrity":"sha512-vMgKpSQdYiEEAC4uLDUkfbUXTBZ++nTECKOsQJMxcpHiQV6SfMEUD1+DXWNq5Sd7XVYcPMMdrdNVv9TYH1NwCQ==","signatures":[{"sig":"MEUCIFKnUPzP4gr8CiXlxUCy+WzUBHE5K2uO0vUZFZGqAlAgAiEAwZVmdL0lt3XeekcFddggBZCMyur5zscqHKFu8yzALNI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21917105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1mEPCRA9TVsSAnZWagAATo8QAIxBuWr6eI/2fUAE6bNv\nG1UO3Usn+EpQdyb/qG0lbKOIjq7AQzfLhQhKFxvDFxlzankmYZu6uEdzUQyS\nvHuEm/2hHuPxusBOTxUAHctLeO/+IDNojGIM+QkaZv5tK5pxXP294qdunFOU\n37fCsakBCvmKviBdQROPt+j5zjCdcWsDy8fteAT0/3reA+8aRLpOQFoU+7/E\naJmkSCbmzdPpvp5ix6Q4MSoujV28YraBUclK+mMAYMJ9lvp7hcKYogyJN0xJ\n9okC8Z6i7uqhE8qYu564AvGXeIuMVhMVfwZAf0FHI3Xg+2nTR5dlKnjAvxe1\nKcEiM5Ll32SBCI4Y/2wvnT+45r45Lotmk2lIY4ppv+fY98YJ8xJd+p/yFpD+\nqYrIneJQVbDTqanw0oXB8r8LQUirz0e6hBb+LoyKw29NfUutU1QCdzL9BQl0\nbBQ4gVybRShen8MHblOF9DQ5jSfkt0aVypPAM8ZhPDS5870M6S+uYz/cXpzu\nFfLVQUjfp7TumuifGWVVMZvoVb9bMh4Lck0+j06CSe096ahqa++BTynMPAUe\nA9t3vXA0fBUWvm+7WOYchQJhJGZwXF5kLvVyvagS/VG3nMFtuEOAxGwYbA0h\nOek3fwrCbf79VuEl31YvTBJkesTIw/+n2iKofQgR7ozpTPqzf64T58hd9+46\n61sV\r\n=HRK3\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.7.2_1641439502960_0.11362975905027728","host":"s3://npm-registry-packages"}},"3.9.0":{"name":"@vouchfor/uikit","version":"3.9.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.9.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7508f5f1c2066dcf4ccb47965f1fe81cfb0c18d3","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.9.0.tgz","fileCount":168,"integrity":"sha512-b1Sez3HjI/1fn3S1yQ0W//3T9CQqqCZR6GufSmQ/RHaS6HA27g2cGkyQt5FVJahCwC7jRZWiDJbu2/gtUfUIkw==","signatures":[{"sig":"MEYCIQDtqS9CcEM8xy751tbnS9cAP717pk1kkkX5IG/eoY6ecgIhANuAS0KUyWDEc1RjIHybZJBp7iG3wmVp/cgr1/wLQCEy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21872610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAaUUCRA9TVsSAnZWagAARBoP/00+EgqrDPNp4wNCwPQ+\nrBjjYh3BCSt0D0x1d0LSqOUgDS4Iv7HazuJnMECJx22VZlqr7BKGhhXDwo3m\nzuWKWI1VQjZfqhOWVgQ+nr3meLM2/GhPgMyKbIPPxP2n9hTE7j7Ej2PZ76TK\nVfhtrCi2p1hdKXBHyR6GPVb1epCp4lOUK1Te4KsyFePuqfznnqPmB0ToOhGk\nfbhyZxrtM5WKzsX43C9ZIYTkQDoCGK0KkRwttM9qen4XgQMTbZu+7eg4zBPL\nL5ewnFQQCl9Qxd0rUWdlPSo4GekFi3+pcb2Cq428K0gPAUC5zvWYgaPe2oWq\nwgy+7kCooMet+y+o7o2vX8LsnAtpVW0cr/5h/idqDheuyrjjROYdvun+/kWk\niyn3xDM0d2FGFRDw3oQFAyitSVuMPZP9bwOfrk5gOPYZOpLCGX3RIP5AQZwf\n2s/uTcnboM4inrWIgVdWXRrfQrV/HxbgwE5N7SYvMmXbFWieOra3HGdGTNlR\n8YOsSxDZBB6eA1+6SmKO2gmfjmpP2kalc50bfTW6MwGcQvha6zJ7zaxfoeQo\nIePgwNVn3eYUBYQf4ZMLVWkod31f7qcZnp5Vy4XqMEVHreUFyz+lA+LEfWRP\n7zMPzGvMumUMwv7rW+1VgGYECct1pUOqKaGP/IhVcTJjA0Jq68AFESvbvmj9\nd+Tr\r\n=bIId\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.9.0_1644274964059_0.019683911270213406","host":"s3://npm-registry-packages"}},"3.9.1":{"name":"@vouchfor/uikit","version":"3.9.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.9.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"67075285a07af83df1059878773b7f195a07a03a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.9.1.tgz","fileCount":168,"integrity":"sha512-5HVJTOeq+oTwqOsIyvO8X89OcnsmyF7RyM9I6U457i0/b1qaByEm9hlI27dPOLLsLWXTcQJe4dRNFDULymCPRQ==","signatures":[{"sig":"MEQCIGfPdefjunsCZAoC05+iwAOHusn6MtP4TQhSmEmWYf6/AiBLZShALl4pIk28pI8qHJiB7mGO0ubqzfVUyiTvA4hiLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21895573,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAcMtCRA9TVsSAnZWagAA2xgP/1N5pmkbUEziKFaJrnOm\nlc8am79bLjBFpdisvoiC8lrOgXJUcyD6V/bZ7grbHEuPGWh69bB/48hLzyrk\nDKTWbU2te9Xzcz8VDWcfXjTZEIZZuNWjPg1oj7Pk95/j5I5fifH9uPhuQkGJ\n9qPJdE9/znX0fjaE+mwIFqUDf3n6Q6XJjv6IFQHNr5CWxTp2j2Ac78ebqWJK\nk0MjbsIFUyYBFasgy7klbXTlOrCYdjuTO1OS4oJ03W1/ZK6IPmEzt4gMPW5X\nR0k/bKny/5TP+18rBOYB7fM6baDJiN9CLjyOcmLv2aLM2DVAPs2ku1Z4uAR2\n14VmVIt1+sGNpSiP3GehhvlWGlfQvW22FcY0/0TvcU2RV7xcuGw4F2xkozIY\ns7U9fSejfPjVCBW3BkM437Tjp67LiCATxmyyDPT067afOfrkq83YabryVREA\nMsg7T7FbeDUxR34uaz/EZBvEylIitg+2nCS68DY/9WPdlTKnhEP9EK48RWz5\n9K2Z3IStJ8U8dT5OkqqpzRxz2t2G3PflLubbf1QXb/p5ZzP0wKbVNDl/BU8W\nl6oWuTzbmXOENB8PCNwgDz1Uf32QMYoF6cJ25TaX2CIvxLH99X/LDOPrhLqZ\nMSEjp/GW6SlDzfaQ5Cf52M1OU5ICkayPfPheYmnREfslu0nbvF3IHLy9dwdQ\nhZQc\r\n=8Q5p\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.9.1_1644282669676_0.39836967004982404","host":"s3://npm-registry-packages"}},"3.9.2":{"name":"@vouchfor/uikit","version":"3.9.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.9.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"55c12d08c08fa7ecb9f9e0936340ff37ca243948","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.9.2.tgz","fileCount":168,"integrity":"sha512-lX/EL12NFySw42pI0qszy5w/SUKPurEQ0n5PJTbGeNQ0FPXzaD9t7/AM1OoQMp7zApw9+uydrKwdt7/ea8ZSxw==","signatures":[{"sig":"MEQCIC+HCskEdyCw3SYVuZZEHYTfsglzndJOg/DBzOzzHxCWAiANn0+j+buUVrG3kh7uz5NwAXz0Bi2iUN6V2Z789+/f+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21898539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBZwvCRA9TVsSAnZWagAA7Y4P/0Wfca5d9+NX3AM81fSv\npcrfeGqC0CzfKjNW3e/1GP/4/6NTk+4grp6nExRqGOsj6t9ebNeXe6VqUvbF\nsmE0QyTwYFfqNgcBDGXvgF42Gxz2MzzV7G0cXJOFm/umnTo0XvgsEMMkjTom\nYbcIj5AyqUJ2S7Rym8nwKY3PUyz1M2+cVDiK3MVQK0dDCI2Udwxm6C4qLVa6\n19dj+E3UuqU/3XiqUKtnQcRWfj5/rhestEsoEP9o9Jg5wv4PbRBqFO3U0dNo\no314M6XXm8UINxLiszFZj5EBxz1+fzFMwMwrFVD0zTyaoV9Jb7PBI77lxc8N\nrdhd63Jgen7uujH/LWDRcSloslFIQpWvZO8Kal1WvfyvtdWDSUyREQoGpFX8\nibch1TW1fsl8fQruOsXokGXhbsUoXwdsLdPu3xb8M8fceDjmYK5xuUHtJrbJ\npjgJu0ZidotXrmQgyU98ihJzSAens0Os2bpyk4ErBd4PFJrQPm6f1KIVmM8x\no1ej9m6Y1xcG2a8pAgO574EcDMYcWCENBNZABLeVuuY9P6kvo1GDtgL5HuSs\nylyLXa1uMTLoMYQu1AQoRYlxCrmRCuOMdc+kkLQQ+EDLi6qkquQ5J/tVIuaV\n5wr0ZP9QO0kAKfNyJy40kWGakakd6E4vY6Ig+mIqYFHcnSUQ9bTDuCt8fy6h\nWDed\r\n=o3fG\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.9.2_1644534831250_0.19514526078279237","host":"s3://npm-registry-packages"}},"3.9.3":{"name":"@vouchfor/uikit","version":"3.9.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.9.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"764e24b8b7dff3e2a69b9315a607fa18b28bfc4a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.9.3.tgz","fileCount":168,"integrity":"sha512-iK8QgcxDGULRBcudGuygaa7NPUGX4KrAzfk+H5koaa7pO+r6bDGaf81VDonC5KSW9Ox7XW2a7kwTrkt1S3qhyQ==","signatures":[{"sig":"MEQCIEsXz+RggoCgmed3yNd/ZYJroN7Ay3ISLCq9exyLS0nRAiAwZDLozXUh5+YN53Y6m03pQnG04fgVOjyi16LiC9emMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21920881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBZ7oCRA9TVsSAnZWagAAinkP/ifOcLMg0xXQDg0VOGsU\nye/y4vGw4s4kcbWtTzzqbAQdifmV2J94lpoQ+JRTFMG6afx14c8RsGc99b3T\ndSrB6z5hAsBHpq+G4oBD+mfXFALUjQsoKGXFPgZXk7JUJ3xN5nM5J4TVfXlf\n07gUO/U4wDRBok9dH8OFolcP3GRzYhy/xDhndumbsr7dAd+TvmjtmkTQ2nw9\nssrOL4Ae5u3OB9wix+jGkg3tJ0rvX8vE4CeFmwJCd00e8laqUkiexIq7n9eK\nXsifefvyKBwDgXJysSKfd4O0qppaE2JnKUyqGVAHt5l0U1OmTt1zHCr7jCJZ\nGOSKQ/rRGQHMGQRizs6VrzjjnRiFs1pDucS6aZOLllB3Io0illST5zX/ngEe\nOgE8QIxBqn2X4k3bfoU6QdDD2KW5fbrWp+ksGFv//VePGllj9OGpbC17Lbfy\nsY+oHeTuBYn42R7rGppixANMI3KcPwJQSVn19NFHiBSoklUF6pz86oJZxGft\nLs3ZYFCHoWfu5p7j12T8Zroi7maXxu21itD3xBjU4wOL4+7X6bcN3Fn7Jjpi\nRBanpO5f/kZUevB/Iu8RdM1nGvudUUcLFp/6mZWrvUykGKoEr03EhyCGXrtj\n7G9fqW+XLVU4G4dpOngNX51i+tGpRoPTtnXngrfQpU7+ACRzev4EMpa5vM4o\nOzbu\r\n=6ZvT\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.9.3_1644535527730_0.7744762111482681","host":"s3://npm-registry-packages"}},"3.9.4":{"name":"@vouchfor/uikit","version":"3.9.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.9.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"08be13ee1a010b143ba35fef97c09f19a752164b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.9.4.tgz","fileCount":168,"integrity":"sha512-rfslnVVlY3Nv8FiTtwFyqDSaoEi9J4qxA/MBx+Eo4o3mmw9c/rVvJOlhbH5CIkx/Xp0MbBXxJ4gHxbhT2XrH3A==","signatures":[{"sig":"MEUCIQDPNfiHbLD6m7Np11xsaMGMPkt36ordD7AIjiblso4eJgIgJQnLHYGp6qmZZvobDnFhSrqnyFzduip1ndz+2WL6klo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21920071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCZQYCRA9TVsSAnZWagAAhOkQAIHDWJ0h/KNRq7lYzyiw\nJEYcYyav2yeHXZgJSw+d9/A3vWXLZAfoxWxoARCiyLt+i/IyAf8MvMEw1Pu8\nkDCC0kOem5z+Re/NjHL9kyANGcfopDm6MZpyEQ+g4evyeVsuksCqytr3hMXm\nRxjd8UMCc0xcJr9pUTmZHTL2Ib2/kNxKRGByHgTVMz3hWmacDhwwu8D0Y6mo\n4frzaBo0DCbG4f6zBPv9AqnuY66xqDC/bc5UDXYJuoMz5OD8Iu4++g4VwnJ4\nt+SUU+/wKuUJ6yrnWcRDzZEMGKIYDJiqpUIJWzQGLYaix/Fo4kiyCpyjZPtK\ns7zIMBlxUmplKzdo6GQ6gXrEVysjEEwU83tKohd7iAWRR6hYfnA43l/st/rC\nCo6N30M81538fRdAo+JwwmERfirDh36aZhUZ4eWZJfBayS/Jq5+f9DGfgW5w\n51gc9W9lb+FoSAYTjc/BA1scvezZSfAXCngARkgwgmDAvGECKtJlIg2NcdNa\nu2jeg8XdU1voa7S/Ojj7VEBKrB3z6ofRA5qLNQQGULqqBC5aCsos/+emOtCz\ngfYO/2+b9d8mgU+7Fh1Zjyne1JXrMhjFU+DjwnkC1+D/4gqdVgZtCGq9Zk6P\ncT8KE0iIvzTuX9bfL7nDbapcEIYjosRNqaVT+gr5pVOisQJdH0W37SGllkPT\nDZzI\r\n=dApt\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.9.4_1644794904594_0.3932399262479973","host":"s3://npm-registry-packages"}},"3.9.5":{"name":"@vouchfor/uikit","version":"3.9.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.9.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c3ca50bf728138b6c3e893fc9f00df0f5d099137","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.9.5.tgz","fileCount":168,"integrity":"sha512-U9glwzJKMeAXBS0qO/S7cEy2qnYBb5I4mELdkNvcE18RpMV+ODJeYB4nJDeyVYmoyR9KkjB923aTNfnnNusJng==","signatures":[{"sig":"MEUCIQCe64q2fQe7XJcONKfXVsMRepg/yqybsmKvBde/RBHMQgIgMCBno4uIlcQyHWNgDoUhVo1aZZb60E44OdwLxOme6Hs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21952982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCaNVCRA9TVsSAnZWagAAhasP/ibWrPeLFVSIetHySAGP\nbGjS66vTM5h9uiJYVOEhBFHA1K2cG+Qv/p4qu9dhyn9NS/UtJ03lMQwWzK21\nlCpDWiO1B8LlajjEaYL+SIqmU1mHlsIg325IzGXld0PUbeZKrks3TDcpyWI+\nuvlzvPWUotjmftjcQe/klNP5Vj8UnCB68gEl8b4vYpTp4PvC0Oyk7yAhsijT\nQ1i+UwoNszlFNzXyGeI+1hvt9zELjGIbygPXagGGgn+FHpYmA8D0vIKj5APn\nnzDv9wwjzIKSIiiwNgT5qNyyNdpA0A9G7YLbRlNWA/lejmccgBdFGHz+8OyL\nYTsCql1pJuDJDyH0WUPTGLRwhEubVVEopEVFo2j5VPgKvhs03zsmwrx0OHnR\nP601FYnL37cR5AJBqtE0vJA5H3tltPcf0hJN/2O9UI/IjZHVaHjkyiDzApUM\n8JMhrDzFDbRcLHAV5LCGV2R0EWhlRoCtuanOu52eAdZgH3JzowgRMZMXHP8N\naQI2llolUU5OCyazzr4D6yXxWM0Uo4GyFLhYeiO+YuebQ6NINv41usLoJ8Av\n/RWDbLfnAp71mwpsx6k3CLl6wpLDrD1noRi7z7RscCASBnZYt926c20JeAcV\nFieIxECZ+RwPZ8gJYqJI4S/e3wk8dqg/vOwbjzsEVxCusym6YxqunvPvatbV\na6i2\r\n=/oPx\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.9.5_1644798804945_0.1580578612948098","host":"s3://npm-registry-packages"}},"3.9.6":{"name":"@vouchfor/uikit","version":"3.9.6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.9.6","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"84b0e56abfd76acb37ffbc72432f30284cc9e341","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.9.6.tgz","fileCount":168,"integrity":"sha512-yvGKNcVsAr7awvYD6lL1uEPrDNdqyUC9TtWdVypVdY6D4f5ei3MTEA5dbLsTsRP94R3aNvfoBx2M1Lpsb5jWGg==","signatures":[{"sig":"MEUCIBGiDL32/1c5QUFU0fbYAIVZF070e8ublIKbPSJ8wACoAiEAnCGbq6fcfhSKAepyu1w+QeoHELB/fj2phIE+NENADvA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21916191,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFEWhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqbow/9GtBH98xi7TGwJ38e2t8DK0mBrIzK1gYfbOW7Bpz6N/FpVlbK\r\nPqS9r44+X4Cc7iQoaoHVB9Pu3AvPtoSEYBtW89ibYPhB54hI+wAX9GVchFHC\r\nrxvY7gChotz90sm8pudhE7je2VS30JWIht3afSINHgOjdNZ5ULbNCpekOuxK\r\nlY2G1O8soEuKL4HMwtcO69tfQdFbrWVuc6Lt0PcRlvqhcHPLGKjUfJdODMSm\r\nrEkmbF+df1tLznclXVFvCvpzqYANTIsj2jXtv3cBOm6j/S9GOLtBXJAr9jLj\r\n8wLlDn/99hEmUtfjGMUv9GJbIW6A0LJiYTBY9eTiamE9BoQj93vG1P1RuBDS\r\nwmPVhI55nyln+fTHqQ2gMJak1eGgU1qsISNMnhWxrwMaZK39P+TOTOfsfN4v\r\n46ac4clzRK68ElCP4+uzb5uWZopzpHXXnr63/sXpW52iaWIfp7MXaZvMHunm\r\nlkAl9HPp9z0yLTluN8xmCcrLNJQIhA3BfCylJ5unuG1j2Stk0DgI672xwS6L\r\ne8mESpJGnpTX+cXY0WcrFW2YcI6IjL1bR3KU6lUG97ACmT0FaBRcF1NPVjHU\r\nrKXaLaxwHEDeRiLINlxVL8b6ID0UV94jShyVTkhNYjdiO40UnrxMkfjRyZAq\r\ny+h2CubEu1arLPBmyyL1wBdHwUHsS9eVnjQ=\r\n=3Q7L\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.9.6_1645495713448_0.17383349255242986","host":"s3://npm-registry-packages"}},"3.9.7":{"name":"@vouchfor/uikit","version":"3.9.7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.9.7","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"806ee92ca55182209ea3649896fd96e4585b0e04","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.9.7.tgz","fileCount":168,"integrity":"sha512-MXo8a6grv5d9C2BGph1XJx/D/mAuZ+iYQrqjVZ/ou/dmpVMMcBRZU/gcz37g7euKasMXfIYYRI01e4OkmYaAWg==","signatures":[{"sig":"MEYCIQCTDgwF553IBvxvTE1QMhQSxPt9pYcl7YIyoF7YPzf2kgIhAIF2q5/nLbGmxjcIAzMagsapDD3OpcuIktndXvQDne7q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21970636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFEXwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrdZw//V+S8vl93wyuJlND1EOATe3q37pMKAmjlMQ3h3JQdUpqBrC1H\r\n595+eBCIg+XYWggsrChbUnHwmKnSFE3mV0KPNOFfVIiDdTUNWVhPfmN/KDh2\r\ngb7a0jknKpMzcsZc7FOYoDhUwwjarvxlVDtdB3zPir+/dtiTp7bcP6wnZSA1\r\nZEKOGlU16J7xfo2PiuCbgR6FA9wV5sT2NygPni7xnQPODxhiOI0Z7JekntDL\r\nkkbPzkqsRIQzV4h7p/qR3qYAXj8pN4MnhvktB9Ec/fENP7LRGZuriCpc8Yga\r\nvOHNkYdOT7bADpO5rP84qbAYz34sDOpd2fuj8GWPW2MyGXcpsASizNtNZzBi\r\nVT/Eaek2tlvX6WnM0G7fsS4FpnZBBB+zKKpiCrKAbSECqUX4VF8w8ZJixTd2\r\nfpJ2bwsXm7wQUqfy29L5b1Ybq53CQ1MXnuu/Y5m5b+8DjxpUgpcw/Yi+RzuX\r\nO09Ot0gU/PkOMn7GL4TJreqMDprztlJNnfRxjFmXaFrkArOWpNlenTg9E5sn\r\nGLr1oX2cqGAXp0T4cKA7lkQ9b9L5NPJbA3TsarvWM+k1YOnA3YrpX9/4wtlE\r\nvfjMnTCNWDU7GPI//DcWQM2yzDefW27yftf13wmzH1AgOcSh70Qx7q0lbYtw\r\nHZqyu/HctNdtO+BxHVkHi6K+PRTduwsobms=\r\n=YpNC\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.9.7_1645495791836_0.6507152655521518","host":"s3://npm-registry-packages"}},"3.9.8":{"name":"@vouchfor/uikit","version":"3.9.8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.9.8","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b4c0aab3ee4a59c3a659efbaa1b05a6dab10d749","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.9.8.tgz","fileCount":168,"integrity":"sha512-f5FGfGqdDNMbtOGdh2feMaZqm1H8sbfiUDNV9oTkYn6MmPR8UL/Rs+2AZ4yILUvudzqxUCxLPCPoP4TaVTVpVA==","signatures":[{"sig":"MEUCIQD2kNpsAuVhakWhhIsIGQV/SXtSbot0HB9L1QHABbTy0QIgNm5g2qnxDd8hf+AEPr76x4yNQfjdo1KQKxcekcNVHHQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21952172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIVV0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8/Q/8C7X+wLtESn6R4kkgfZrhSTXB/A3qcOymPiyIPAs8LOwAnzRL\r\nbAtCc/bdVOjRXYz7Na1TlIUPCMLuFxU8g/5Ljv4wr7faZs3K0T1koRyQwB4P\r\nA/s87v9hHrnMMQT2asAUm788vzmztGMi1blJPwcFm/nQGc10WCLHD9A1pr0h\r\ncb6Y+zRAw5BgeQ0OUOMbZZLCJD6Ku4wOqg6bETM1vQJsY5nepT+S9Cf2ataG\r\n/lDOFgP4NltOS+1hgsxq1P9T57AdP1ZH0yiO5PlmijLagRh0xZXvUsJiFhjD\r\naq6zEl8ti+bABj09CiYyitQrt+j1ppGjdmvkQMYA+dNy4ePQ1zNPadoi28bM\r\n14Z3iCQyMXc2OGjRNFKOYMk7e6NaleL/0+aBsOFbc6BEKCpc+u8kwC5DG62k\r\niNTUIhSDZVqDAL7b+IRc/Fd5OIsR2zZKFWjrF2Gz14p1o+tn8O4lpLY7cJuG\r\nX/bcDbrvhzfMUGimyXK6fSJFV1c7+nbG2TcTwZVGyXQ2NeYniX7CnPg4DgIt\r\nXO851PFTkbpZjskQ6XJ3K5WlD2FKR2DjfyYxg4lGmNBxRBaBBROTHWQhZclP\r\nBkgqTE44+b1/1GYMh+G4eKsCDK4sZ707yLYG5n8v10uQPgb4FXzA7uGhmYuc\r\nB6D9UK0NA7+3wBnlcRB3nnn5PWDUoay4O1s=\r\n=rYkA\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.9.8_1646351731995_0.9970743009087208","host":"s3://npm-registry-packages"}},"3.10.0":{"name":"@vouchfor/uikit","version":"3.10.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.10.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a4874eb814df1866afbfa1c470ae26a3c7cb51d0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.10.0.tgz","fileCount":168,"integrity":"sha512-HNHshs/HYxznf99WxdQ7B7t65FlwPa6a2uFIzQD7jYvE9yvjPqOCljjI+qrmW2s6T+i33M7tpQtVvwAU7QiCxQ==","signatures":[{"sig":"MEUCIQDpksstaUyFGfS87X/Tkv89hQfopUeXo90v6iHeRJrjjAIgFXmj7RSMsJVXYgpha4fBbNPPfKT97GahIlf+0lt4nZw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21902066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKZ+vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1jQ/+KZ3Sp8uHxq112bGiYovCsLCp/vZlg+7MTm6WhAL4WFGYURx7\r\nVQTakHoARYVXuUwh5a+jMnzv9DTm2VhC3H6HPP2SOqobAVX3FxvUF6tPPq8s\r\nX87ReZbRxWghTLacKbo+K8OS5T8xRHLqG0r+FFE45uf7ersbMgJobmT1FHJQ\r\nrsfoN1AjMrUHrpC9UvuLePUsaI8z0f/5pvm7mwrWsUVoWIqKHooiFI0G4xy+\r\nV4X79bkePfI3n7nRIRrShGwLbFSMm6L4SOgyMMUbYy2TrNos1D/xFgeH4qSd\r\n8nTnjZ2crZUaaSB4cLdYW0MTxr1v7JtuF5Bn1o2YvGDNuLjijsT0VuBYyy1I\r\n6JLMMYs+/nF7Ygy06uqhm9Ir2HZvZYDcMRqBMInM8a4CExWwL4TkPMFIIDL/\r\nix0qNJvZ/AdDhiqnDd5vFAyoPlSUOHi5+OLVOVQUjF+xBmBxUx/aD2PIDL/Y\r\nA9oFZ2eDgeQUg5AapDYlx3c6egh0tPItfw+PhHSv8zo3I06DH2CZJj1jDRTj\r\nWGsTUsWguDo5G/Q9lgofUD8sZ6JfKOo3fT3MNdegsaIKp553CXgFfIM1EYtY\r\nJdYl8CiYooVr9bWQwDR5NZCSfgVeDu2okz7d+/XE+Dp9t6FAbFd6K7NTOXQ2\r\n+aJ3N0SK/2lLBJIkxnuuDs44Vcobtxd8b3w=\r\n=cbOV\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.10.0_1646895023077_0.22671332143146006","host":"s3://npm-registry-packages"}},"3.10.1":{"name":"@vouchfor/uikit","version":"3.10.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.10.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a269381c93705f9ea4fdb54a310d0eb0c519b547","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.10.1.tgz","fileCount":168,"integrity":"sha512-t601brI8k8C6wButgQeOqSWBaW56Qhar4A6/PlNB41NB6SXek0o3+n46WfMVmggTvrpMJFEnYBTybApWaSpw0w==","signatures":[{"sig":"MEYCIQCfAzydD1btGDIlOspPm7E0Ryk26RiQUIifNatBc+SzZgIhAMN3bwVinlk1iTaMu8u6v7iTt+ats6x6PGrdrZlCzKiY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21956703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKZ/9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrr+xAAiD0d81fCOZupSQcrPWOBqyGaZ9L3D+v/HrAVpEWzRqiUo+DE\r\n38sBL9LtmXfNOwYhAld0xq3fIWgNfEGWJIvnvL6gZabVRxKuP1x//FVQXb9F\r\n2W14AiuJy14b99xZBtlQQLsDsWPsTbj1EXQc/NR69GpHfhvbNbya39JCw20A\r\nDewTEXL3u81PmH2W4ph9ke0f2PG6drm48Cn48oLfHhwxip363Uv+D48FPuLE\r\n60d2J793eX1u+Weoci5Te52HMnAnaInjAZ73X1HFCFeigsOcfFm6qMP4aESs\r\n2nVdPfuF1EpaSB4DEHQUp47PUXpUhvbsegq9Tdp08TNCy7e5YHNWRlLKjrr+\r\naFjXzq7mkF0xbyt6uIfzNd/XGnMPdWwBU1yviO9oXFn7YBcY8qRXHFUrpqiN\r\n5BCF7YpjczWuilPh7VtZMmToW7ORoyc8w3fhCwMd9QrwBb3JNaDdUD03MyjN\r\npNeBtKpeaQFt3IKNlwNIb3nqv+QKHqLV6LmhRjwmWx/cSmWG9BI+S3Sqc7k4\r\nbxx2fSSDX5kPB8AND9TyGEUHWaitucn+J92KQAmU7lcQRkgcJ9xyEDyl1J3A\r\nN81pEvry7x8mvPpKLehXU2XQo4lOGiNNgOh8EldfKH9SRH1nj76sTA7OZ3fD\r\n2IhcLY/eKuM7HsqEGVZlN8GJPK/tQvxA+SA=\r\n=7byO\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.10.1_1646895101139_0.7930812782224466","host":"s3://npm-registry-packages"}},"3.10.2":{"name":"@vouchfor/uikit","version":"3.10.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.10.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"cbf36eea83a9620840dab1e8786a081fd7d03f04","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.10.2.tgz","fileCount":168,"integrity":"sha512-+CvTG9K2PWwrAO9TJRTMI3j1v9owXrqtLwFQ4Eg1xI8LaBKpqbBhVdciI6fV/XC6J8SKDaJ1eL6uNHvnDz6b8Q==","signatures":[{"sig":"MEYCIQDL4nPR3k/hOtGulpXcXH0dTvW/+oD8X0elFpicadGayAIhAO0OEeslmIoYs23A40OMiXUQZbgMXxAkYi74kn4Wqhx1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21955893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKaBNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCLg//YsyHYqnhCiGYfq+rj3qSJRio2ErMp0TNMoagiD8JTaz8bwvj\r\nAZ3R6NWI/NFVqWvIUqZnq8iRyVCpk5IkgepRmsPiCIxEdkYRkmrECdAPLnbX\r\nkRTYa3hZLY6zifXaOXE/9wRsuJ3JfdXyNlAEb9jWFGimh6YnqFE/A0NcZGWG\r\nFhlFbP4eTsPUb4vBPagfYL5D3OnHgl/TKAaHPHBo/qcEComh98FclndXXNh6\r\nLDN6p9RgJIV5/bmmhafw+pcsOqTTRAtkiRAm2Ddl4sl8qSNExV8DQMumhpLU\r\n9u4Bj/dRGipwlGC8fFfA35wZI/nLhq+kfCM30Vy/VPs7n/TtYZbvF28ls5ax\r\njaFcwHPfeDCLGSPGbNoQH2yZnNRYPrayqHIJxiMXqdxpnNnf1mwvZ2KvHbeI\r\naHoke9O4Sg2srsEuexT4amB1w5Ogfkf3PGnFeYn3QPZoYZrLysv3fGehyrPB\r\nl+bPXiRSNalzoRdziwJZIOgDTVbHezn/kdzSLSSAo2/qwJ+QK+osNMPTpxEf\r\nlLPDW19QUxjaRc/XAaLftLwSQ2i23iSFkmsIyCtfX9M4x08mbd0HEwseSQ6W\r\nUko69+88liHKzL/UZp//cwuT6d7nbMElNfnmDNJ5d7uwbav5u/nNJE3D3EOR\r\nDtW41TahRiFB4PMZseJxoa/2vNcuPKt12ZI=\r\n=ay7Q\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.10.2_1646895181290_0.56067053635862","host":"s3://npm-registry-packages"}},"3.10.3":{"name":"@vouchfor/uikit","version":"3.10.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.10.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b5693587a9b5eafeac73f7b6199dd121005ca33e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.10.3.tgz","fileCount":168,"integrity":"sha512-fEYMq6z4ma9IcB1HaVQf7f/WwEg7mWxBoRf2eVi8G1OejMqml+gQmydrR9i6bxbp3rPtYUq+C0eIZ4U1e3lKnA==","signatures":[{"sig":"MEUCIG/bkOBjtGEMhOWv3Z6BQ9UBXibDAyP+pMuEscEXqh4TAiEA9lwh9lSRm6QTyEMEOBz/6gtQLz6HHTer7GXktUCFBiw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21950581,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKaR9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoS2A//X/bZwAddlwyw6++GIL/SdTCipQDVx9K++CkBEr82jsdPLFYz\r\ng338BFrjPDVal2s/IoWNHmP4Pu8umlUqkHwhSQDnIYWQKH6Rb+GJYC5UP9mY\r\n983Tjorm1UlV7sb2VGnCeEZvprWDKA23/NprvZ2IBmESC9mDd9hUE7yrYGBD\r\nP4igHxejkEre+a1RkuV9EEKR2jhbudXYO2Xfwz6YW0rVn3u59uE+atuKwoHn\r\nItrdAiPDpYtTLWnpC0AXFYr+hiGbZcbMgwQPDVXfDkdFSivAArke9rbLhyRp\r\nIvnpFtWysoVhth3KDLqLN+nTaK5RlqKQvhRQUaZrfGR0+Ifh/Evy4rYNGGvR\r\nprEPJFwkDsc1Cfr/iwISLZZEUgM+V+2vNW5mn08Cel9SlKuLhvUGYKy8bBQH\r\nC3FhaekIJoOHMemf5IJ1TygIAhhJDRu0RQyMYL+t35HeB6VbyNp3rRgAJES+\r\nITn/L0/T1UItfYVkGWSJp4n4vBiYSxCQiYAdSKH1yH01C2wxmiuKr8R4YynE\r\nKEaykfqc7SMsevVeziUqg0NQ/G+hoFtOcwdzC8aLXteCofgIC/Hw8vDjOilh\r\nbYIVTNpL8D8ddKCtxYaGdURCyeVwEKFf6SkBmE1IC5L9EZj4m58xdRx0/NEa\r\nU1KC0f5/DBxmUSK8647dlTti+wJeZ2GoQT0=\r\n=vR1I\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.10.3_1646896253384_0.3647704559952092","host":"s3://npm-registry-packages"}},"3.10.4":{"name":"@vouchfor/uikit","version":"3.10.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.10.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8f63a04e41c122ee80e96c760512e9040bb741e1","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.10.4.tgz","fileCount":168,"integrity":"sha512-Vo8BpfSIgFy7b7f+u34XTv6D+jRopZjhE014vOT8i6ILrDb14m+Bfw/Art28gMpvlWFmuKBeotr/rfjMaAhq6w==","signatures":[{"sig":"MEUCIQDmE6uL94M9hEMaXyi9nUNYpa5GJXgsSU0J3VnkpekQdAIgHjZgAvWJOzIFu1Ru5D1acOS+rfdW8MP9SJAdS6sK0N8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21962530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKaTLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSvg//XMZLIJhSHfos8NvYyKUtwSUNad9zn6tl0a+dkydGewu3c4J8\r\nIj8USu3HJES0s7V60iehxK069GJU16gQS6VqaNOzv860nFUHnND0U2dphrSt\r\nBKZkltdxU97ulkxeh97InKN9UeyPkxcRaKTGC4csd7mNZqUVVIDb/CDDSNEN\r\n5lc61j+lt3ipjwMbdfEKzNyaCb4UdjT+Y1uKt9OzxAVsvgs+L6RHZHXEZbo8\r\nyxZlxetF0yjvL8ARmejW78OWZve4smu8gZKw3ydUY+MwRM/yi97Iw/5fJA4G\r\nJjC27bKoyuigyS+2mKxdzM9kkmGQQjNsI7ztZU2ZcwuWpP6YXlzWx5N7YmpT\r\n0KbbiSgC3NGMoqFZro8E0B2shBGLS+9aDJDuWXwfMMfkqRCRiDFaDrcRCAxI\r\nJmfBjswwyHdd0P+oBOhlr26KUdb33tfq6e4tDvC0Dd0no+8NFxFjevCZAl64\r\ngWuz3FuWp9/d6LwPfd7M9cd1nBqIrs9s5iXaEfGnqrJ9HWCSygYKFSm+5Asb\r\nRYpO++hdflI/kXyyqsAdxLNe3MPbRFG2AGEYeNlqVJtg5JdZOjFnBmxSp+kD\r\nuKaUzv7LMa19vHhxgaZjO4qClGI073m9PSsw8CpU3MR3ZMlXvL0TSkMkH1bR\r\nMbxUQ5wOLdOWHhAEYvvkpI1HL0NnsXim1ug=\r\n=ZEu4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.10.4_1646896331377_0.6099408565828661","host":"s3://npm-registry-packages"}},"3.10.5":{"name":"@vouchfor/uikit","version":"3.10.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.10.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"da6235fab6f1efdd2c830f2c5ac9a1d27635625f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.10.5.tgz","fileCount":168,"integrity":"sha512-IqlVbPRzshdbm67EPnT8hHAbOSign5jZ0eMZZuSmcs5249Fm8JqZA5Rf4LhRhwPA+jMC3R8pVamahY1ODiRiRQ==","signatures":[{"sig":"MEYCIQCQo2KEQ+9g+dE7d7wuQhZpQvI5ltniWksCTmcpCTijnAIhAMXxe1WwANGrVZqa5KtTbIZsWycl43ena1nYP1D9gIqA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21961720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKaUYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoH/BAAnR4eWYtudPlF5xapEMc8pDuIpV/sTVvsLQmm13ovVNvA27wx\r\nmfq+Dfzu3PoMJdYiEDRzNdd4sr1KoCVuuUIaMHHThaGAChZq9JySpCXvmFu1\r\nO6CZs+vbgvjdTvSWVymCGtLWpnFvYCT677H0sDpvNeMXGROgolTlxSm7RvzW\r\niPIWZsWtVG1LFIcJ77nYOb5YyxFtQqQ5fxWtMMImBbwfR7qb39b1twD5Ju+R\r\nTqul8oYzg2Z1+WJS2iAq+JHc3H6ucBMjvnffg6neKgLlNx0FcAqpKUW8q4Ph\r\nOhQTTnbzpbbYyIzobHmmZVO2gVRH53YeAtaDp1AjIgiVjMy+XKS4s4liTFwp\r\n8viW+4Hg08p0BBD4jricvIDIpVUbhQ+/qjVcioBL4meSQWQXLYutExAb6yxz\r\na9pjmwF3zwlv6kQMJK/nZjTeb1h9Xtvf3TUrT4Pu0E4yNoyQUmeygc3qoWFp\r\nH/5qyzOylbcK65CG3StB8fHh9CTPPszwuzVUcuIv+E8yn5hrZjSTO4Jnz1i/\r\nZRjjZ5ttA8xBGNqj60dJIt/J21MnCnJjiWgrOZH3XFqdLgJW81LKYBCapscX\r\n5NKmmCQasTAQS0LP6WrQyoAaI0ANFrHBU4Fp8OOb+ymxJgz46jAaa1bF2wi3\r\nuompHtcTdS4uTINcBoikF90SAAuxaK+UO9Y=\r\n=AAKK\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.10.5_1646896408629_0.42459318845450555","host":"s3://npm-registry-packages"}},"3.11.0":{"name":"@vouchfor/uikit","version":"3.11.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"19ca13a432cfff8093dead028af2586c3165e17f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.0.tgz","fileCount":124,"integrity":"sha512-hvvX1TBMI88MQ9igAFXL1raF+2IOQvOTvADT7H3OEbf7olsTaK1k2vGvgrK9MzxfiIEm/2qdAmxUGOntj+EwJA==","signatures":[{"sig":"MEYCIQDvPmX8N3TSEgNvfnT3R4k4QARfROv3jRwt0J/TSYTFIAIhANJPusVqLZBo8jgSWDYlNpR+y4IHmOybtVbx1Uhlmc9s","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1353286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO7dWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquDQ//febNeh6d0xmaRjs8Si6MUDi1bjHM6LFhiT5V8CehePpveirg\r\n1HcavTEar4dLFXlvb1ztH+tUm9ap5OM8zXXjOum1pEJJskRgtRiMAj9s/PoF\r\nk2CWTMdBQ0NZc1cXPtpcyRmtTAD4bqrhzAYMf2zCp0x8HFJQAARQ60MjR36+\r\ntYkqZKs/7J0j4ztQZJALc+BfHGUT6pHrCxYFQsfxflCEKcy3ardAKJ4XJARE\r\nj89eMTg58voF6B4uFKPlqyxWzQfgJNGLKfLiK0D6vPCVWDQmyWKIdPSR/tnA\r\nh7EuM/TOgy2vg5pomZj+p/RcVjhDMxNxGJHznD2YjUBRGb6O8ZDKJ4XzvUBC\r\nGJ5YxYSJ6TJHPl0ErhU4n2chSbK25MLtbH2U04sjadS1L/4UjmEXEHfE9M7Y\r\nma1ZWEEy7GKqXgYksCQwzbL7a6fObeRiwer+JBL0kfIqOGGB+c7rFX5HmeGa\r\n/9nWIUcu0KNAF3ugc1zilv6dZuxE7NrZw08sZtFF5SN+9eJ0X62MyqRYvWdN\r\n0PbCD3VLpX/sn5xaW3Rnn3jYfLSwtNPpiL80EfNDENHyGPnLEVlEIuF1IT4E\r\nz02RFy/35hSubR9vHaZWUZZ3MLVdZIuYQLHC0iPAajbwUD30KewMDbW7NfCN\r\nwlh+ncf02Zi5oYictgkIVz/dkEowPl5ygKw=\r\n=6k+C\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"gitHead":"6eccca196c6ed1b7fa701e81aea3fbc098a172d2","scripts":{"dev":"svelte-kit dev --open","lint":"eslint ./src","test":"jest --testEnvironment jsdom","build":"svelte-kit build","check":"svelte-check --tsconfig ./tsconfig.json","format":"prettier --write --plugin-search-dir=. .","package":"NODE_ENV=production svelte-kit package && NODE_ENV=production rollup -c","preview":"svelte-kit preview","storybook":"start-storybook -p 6006 --no-manager-cache -s static","check:watch":"svelte-check --tsconfig ./tsconfig.json --watch","package:beta":"NODE_ENV=staging svelte-kit package && NODE_ENV=staging rollup -c","package:alpha":"NODE_ENV=development svelte-kit package && NODE_ENV=development rollup -c","build-storybook":"NODE_ENV=development build-storybook -s static"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.1.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.13.1","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.0_1648080726169_0.2705817023442303","host":"s3://npm-registry-packages"}},"3.11.1":{"name":"@vouchfor/uikit","version":"3.11.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d147cb469a652a570d4f4deb878bd64eafb09e17","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.1.tgz","fileCount":194,"integrity":"sha512-gpRieaKm7oJpaPUzGLkXsBKqj3wQtW5Y7SScNOrd+acMriIN5KGKfaEZWcb0QAnXc4FOLkKQWkMTNinHyYCQ3w==","signatures":[{"sig":"MEQCIC/4t1RRopQNra9T5HpvINHGv2j/dKtftZPW4wZrQY5kAiBJ26nejY+VdxGesfW7eCKpfxgTk02GWaRSEOOVma9iGA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22422253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO7+DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqsEg//Zzhn2UR0ulYjNd1qTJNkoPKwz2iTz0NGXUZH5eQ3hgU7mmI3\r\nGWYHvjGX4YrfoUdJMgqFMjOXT12fCUD0/wUkYV4Hnb6+li++xpeVCVAjxZo8\r\nNaxsVQkKhofLHrYfyNEfgULXdxV4m62ShF0SLeB1ExltiNUIBG02YXzogMtP\r\nBHgOy44rgSgdZ82dMDavlZET8jUZfJ4YN6KMjth0b/K+M5Zsveh8DbTnxxQl\r\nsX2g5RI8lD4rRhs34eQ2s/jzmSSB5vr6Q5E0/KWbkPPzzYFkvaPS9Ao4JssQ\r\ntpHvCRwukm2wGbvyEVrFacrYU3k5cC8emxO4xo3pUNm4FqSJGPjqRREXEqsh\r\nhbMLdPS1M+Lt2jT0e5WNTAHCHa077a2hQR2N2uVwQf3GvQM+0P1p44zj5YQz\r\nvOgDTXpt2NiuIOCh+OyqgOo1LOHeSkxwg5yY1ZYt6ivbqoY1bXxR7Z5Fzcv1\r\nE6B0wp99td4EA/JRUffj4Ny3DquxTkIffKEHN319YGVIMAjGdopwWs9RRbu/\r\nZlEUk20OLu0fHJiDWh4uuB136jyWOktmTPEcks7f2Hj/C3VKRfznANLK8nU6\r\nnVsgOfWcUf2OuvFwhhqckfRA8wRbY68/NnL3W4N1+E4Ry8cAv8/BkdcEDZa0\r\n2MZhU2LBKPuAiX5YQ5+j7m3iCSzQ+PXO6oU=\r\n=xWSG\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./recorder/get-recorder-url":{"import":"./recorder/get-recorder-url.js","default":"./recorder/get-recorder-url.js","require":"./recorder/get-recorder-url.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./recorder/vouch-recorder-button":{"import":"./recorder/vouch-recorder-button.js","default":"./recorder/vouch-recorder-button.js","require":"./recorder/vouch-recorder-button.cjs"},"./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.1_1648082818851_0.09909363205647348","host":"s3://npm-registry-packages"}},"3.11.2":{"name":"@vouchfor/uikit","version":"3.11.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"709e5bc45c03822488459b3d7b6b1ed140721d18","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.2.tgz","fileCount":124,"integrity":"sha512-vumPRR4qkNOpiPGHiALFGkqO4NMgzHVPDxaKMkIkzD2KeWkbnIhjoHawRsJDsZH60WWfzB8zcUh7Z1kgYVGu5g==","signatures":[{"sig":"MEUCIGkFBWeQu0oOZDoAuFetvpDVbNZBKjWYLXv92TxraDx/AiEA9HaXUSYyxO3JuwdAEekgSAp6N5r1R5WrHuqJ9LIvcHA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1353373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO8qyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrt1Q//Yg2/eZ6D+tF+uwbo/rcoiHW13kNv1uLJsLREOxNPN4ne/CyT\r\nBk+z8Z+t/bKQkyzJD5XqMk5G4+a/kQCKzcULBQ9AptQt5i/QzL0L3+Xr4j+2\r\nFxv3z/ILl/AOFc4+fpJfhEzV0CrNOUI1nqmUS3ydIwzRBoga6+ii1oQPU4w9\r\ntPA6qupgx3S5sBo/0IY1yblYKd6sRYdEh0yjF7yNxkLFXClw+sPgkwD9Nv8H\r\nA+4Fyien7OvthYcLXWBdjQXlj232JP/d+ysQJ+cIBn9myAWWLxT21CZVkdC0\r\n4VAjBzInnhufq/Ky4yv7NJ+nMLqelhcXFOmGqJiA1LMjWrdSBRwd9a6vnNYX\r\nTKgiUzxtuhEF+jEo2yCvTKlS6PXChts5TELCrCwDVAero0fkEk79LdQU56DC\r\ntAHE4c5lJeoxrUV4S/r5COGMVIvPVdLQhNfOJjUUyHeV7tjCMbgcGPr0rdP2\r\n6jB3B64tX69iW/fB88WqdMw7F5tf9M6fwPglecN+2CcgHPwpkomiOlDkymfn\r\nzJBtAY1LLjgcw2oU+QE5h7tWef5+Mox5Lo+xsVXSlRLQ74Ttp1yrYSZajY7b\r\nmxmH0JGrnekAfYeNDYXwd8SFVDWW9sM2FBvBJ+9Ki/ktfVhv3fAOrlQDhcxn\r\nYLefZvlg5aNdpnRIrrg5KJbzniDVS45c0sA=\r\n=7XUe\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"gitHead":"939a456ab695ec0da68d61874bd08ab922879be9","scripts":{"dev":"svelte-kit dev --open","lint":"eslint ./src","test":"jest --testEnvironment jsdom","build":"svelte-kit build","check":"svelte-check --tsconfig ./tsconfig.json","format":"prettier --write --plugin-search-dir=. .","package":"NODE_ENV=production svelte-kit package && NODE_ENV=production rollup -c","preview":"svelte-kit preview","storybook":"start-storybook -p 6006 --no-manager-cache -s static","check:watch":"svelte-check --tsconfig ./tsconfig.json --watch","package:beta":"NODE_ENV=staging svelte-kit package && NODE_ENV=staging rollup -c","package:alpha":"NODE_ENV=development svelte-kit package && NODE_ENV=development rollup -c","build-storybook":"NODE_ENV=development build-storybook -s static"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.1.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.13.1","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.2_1648085682646_0.1925873010409953","host":"s3://npm-registry-packages"}},"3.11.3":{"name":"@vouchfor/uikit","version":"3.11.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"380621b6239c84000b48cc059d9be882d2ec2247","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.3.tgz","fileCount":124,"integrity":"sha512-RAPA5wmALmcEEZf2UxXRUKfdhiIo5Kl/kmeiy0KKD7T/poWrIc9spgUHjlc3ocCZ6uCD0prZrEs01F8APBK3KA==","signatures":[{"sig":"MEQCIBNBR4rvw/vec88tmnMB1xkD5jC5SaUkwbCvdMSJtNkVAiANfrB6tDTKLfsxwsSEIhfkHDjMvNKtPPNmsZw9XSD4pA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1353373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO82mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpC+Q/9EewDFiYxE+BkvlQhLyN9q+jujWkLrVZ/oFC++r/L/yyY3ySO\r\n5nbjKKCAEZCNIfPlddNucBpYbHuGFqsldRKkegxno29IE93wasU97BVun3x3\r\nGVbSJ8NvekbkCGbjt23+H1TLEnOEe397DqagioXrMuZ3tqIws2GEp/0hSKkn\r\nNnixtGArXzt/2n/+e+rKH0yrc58tmDMwDsAg0nvRQ+H1O/1Mlbr6zqDArnXU\r\nNbFQXGNStnUBGU0UMfNKuyBKVb0GDmhUnDsGJFv2vJl0OeRKHHJgBRsNk2ef\r\negHPj1VS6lC/J2i6Bp9VFdfsDIA6Rcu12F6RTSZDX96ycuAmkR5Zhj1TkDlz\r\nkQWXxvZuOviRC2hF7p1r+XDID7HvmXt3LgZDpOOGoi78yrUrJ1eBeNufinSu\r\neosLSzVQipXJ5dBpdOFpL+t8eI1oxLSL/9UO3VwMp/gVmbLjVkrQyzRtxLxe\r\n6hmRy9Sb3EObqWtKDn0KxMI9lsTbLgMsvFzqbFMZWQxWeCuzC5FwKcIYQtWG\r\nPQgnmC3M/SmpaA+rN32iqe4xaku3g4+BDDaSU8fTQ0D3vNsE9g/MH06kL+vB\r\n4CM1Iz0M8Ez1HTt0R5nKl5QiiNDYfhnI11rULk5ilUVfaIjjGsqsa5kWPGw4\r\nfO/n2ey2niCqcix7EL2Nkj4242uLtbYSh+0=\r\n=8Ykz\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"gitHead":"2fc2ab8bd91342e9583c6edf8281c88e49d182ea","scripts":{"dev":"svelte-kit dev --open","lint":"eslint ./src","test":"jest --testEnvironment jsdom","build":"svelte-kit build","check":"svelte-check --tsconfig ./tsconfig.json","format":"prettier --write --plugin-search-dir=. .","package":"NODE_ENV=production svelte-kit package && NODE_ENV=production rollup -c","preview":"svelte-kit preview","storybook":"start-storybook -p 6006 --no-manager-cache -s static","check:watch":"svelte-check --tsconfig ./tsconfig.json --watch","package:beta":"NODE_ENV=staging svelte-kit package && NODE_ENV=staging rollup -c","package:alpha":"NODE_ENV=development svelte-kit package && NODE_ENV=development rollup -c","build-storybook":"NODE_ENV=development build-storybook -s static"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.3_1648086438282_0.7667423500001684","host":"s3://npm-registry-packages"}},"3.11.4":{"name":"@vouchfor/uikit","version":"3.11.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"eed8fae42f4ebbcd6ac811e17b311421af95f18a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.4.tgz","fileCount":194,"integrity":"sha512-9uhGORui2BdV3VRlw+eGg+MEVZLX9atC6m4NCYmSxSWBRbXuG2pgKbC5utB7UdzQ/ywSRjaSCiMd3QVxFebbnw==","signatures":[{"sig":"MEYCIQDm68tL0UU5ujrBt3pLVmCFDdm8AzXSLQLjj9pUsSsJ6AIhAPHYe6LIJOAEZMNeT/UqmJIMyXSWIvz0g6SemHPZxMqj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22421393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO9EgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQMBAAiT1Opg4qfCiM3DvZeUsV6k5bQq8adGozKj2QsrYH0YyQ5pEx\r\nhLBjKifuHCYWpIpgAl/pwX+Ovoh1zos5H27DUws/ONc+JaUnpuqbygdwMdTU\r\nJfd58nF7lZCG5y51d7Ma9VVulOp88eXpDvYD1HCzGY72/UILxgxXaZOBb03O\r\n6+drhQgR+HxIPPXiRp6fu3Bb5thev4X8NG1diIJIq9mTV3baRow0yzdMMD19\r\n6vZoo3KT0E/DnukLsdK/AUDqL+K5GH5hd0Vgcm4bQE4XPXrq3XrUyPDkvAih\r\nozEdSRmSQ3BYKpXIfKp2iZduhVGtm5L/aN33BXu/7SncyVKYqhWuRjZGZI8X\r\n+QghGjCfws5YJ5DBn02lEo+f9o1FSsRh9S26JPYk3+LPkdrErCXHl1ntjD/A\r\nZVodClRRrhSHKGNuVRjC7CaUDZjFXNwup5H0vwokeZU64QhHLyccRmozcHqA\r\nX90NRyDpECeCvnvQ8oG2D9W0Cckl3+eysaN8THG70i2h9SMuZwUYZufrbIDR\r\nxA1D1getgvrSRznudVKGNa4AMBHO2GEX1pUrkgYjpdKFHMVV6TOzV/wKpHOb\r\nK7IDG+YPY/nDJ2Gbri152JUuHpRJqScnK/gEAaL0mkAs0pp0tSwlipBufn1A\r\nwn9F0ai/aXHe7mNS9c5O69rtVraUdR7pMlA=\r\n=rdSO\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./recorder/get-recorder-url":{"import":"./recorder/get-recorder-url.js","default":"./recorder/get-recorder-url.js","require":"./recorder/get-recorder-url.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./recorder/vouch-recorder-button":{"import":"./recorder/vouch-recorder-button.js","default":"./recorder/vouch-recorder-button.js","require":"./recorder/vouch-recorder-button.cjs"},"./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.4_1648087328339_0.9000787426458217","host":"s3://npm-registry-packages"}},"3.11.5":{"name":"@vouchfor/uikit","version":"3.11.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"245c3e76bfe163cc7e95ccf61342fedea19bbd1e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.5.tgz","fileCount":123,"integrity":"sha512-1/FiwZ9xHtpBipj3teTgIULfR5kBLKObqo7k6ARpFfE+bFhe0NQip4b7jXpV76w1Ozi6b0jrC/Sbm9UC3/a5/Q==","signatures":[{"sig":"MEYCIQD3TbGH294MYenRKNm4izRAuno7JXAlrpB3x0xhS0beSwIhAKn6TkEJeVoltjQP0GohCq/tpUqbrcYSmLMDN2wau1+X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1354079,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO/5LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/Kg/+PKzwBvOnA23b+ujvo4kT2kVZ4cD/zCo8yQFn9PCKPWKZv4mM\r\nzHN1FLeYBWA6X7Q+uWmBG0pdRXWA/b8ObJ2cPaqWlWKqwG5BRJXeFLV4PNAb\r\nFShLU4eHoWDTFUJWjkomP2W6CSO7xJbm0/koKVwDvY9jdeN9bV6xt9eUxiy+\r\neCHxvhVX0DDzRBWzH5ZjrFfWm0zCMyUW88NQusnpirisfPGKtFf1H5pOYkT4\r\niIp7LnbC2p5xRXJokweIyz9jYF66qXGwzQK5wUmd4DpEBj34avzuHMe15SOo\r\nrOwyfFAcJgp9LELmWyWbtRsVVwzQUioKyd2cAJ4VcTGPAObODzRv/B7qeUfU\r\noi0hCfCeHvDXdgJ5xRdOyDP1e/Uy7hYyDqXrqnUvelp3H3Vb8oHtRQc2nSHs\r\nkplLv3KjLHXi3LQ8kqzENqkKwB9w6kyg8fixYViMAgHuNw56N6fX6Fkrc6e8\r\nVPvmyJ/YKi63IVY6D1Fn//Ql4HXd97iALY6fmVkyAUT3wMcQREbL6YurSRnu\r\ndTWhOPOIewjovvapzPBmVE8zdJtPmBbT7w7ghvBp2upxf8ptTMrUutksNf5M\r\nERlDMOTS60LYFtgk3FVioJlTuEE78Kp5NBMdKzgg2BReDY8zcsOHAy+rbyAS\r\nOv389dktZDL+GAyvKSINdwjxnA8O7Ds6rLk=\r\n=Uty7\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"gitHead":"38f491cfe2c4f9e340bb15fb71a68fdcd4a755a5","scripts":{"dev":"svelte-kit dev --open","lint":"eslint ./src","test":"jest --testEnvironment jsdom","build":"svelte-kit build","check":"svelte-check --tsconfig ./tsconfig.json","format":"prettier --write --plugin-search-dir=. .","package":"NODE_ENV=production svelte-kit package && NODE_ENV=production rollup -c","preview":"svelte-kit preview","storybook":"start-storybook -p 6006 --no-manager-cache -s static","check:watch":"svelte-check --tsconfig ./tsconfig.json --watch","package:beta":"NODE_ENV=staging svelte-kit package && NODE_ENV=staging rollup -c","package:alpha":"NODE_ENV=development svelte-kit package && NODE_ENV=development rollup -c","build-storybook":"NODE_ENV=development build-storybook -s static"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.5_1648098891183_0.3370875725664675","host":"s3://npm-registry-packages"}},"3.11.6":{"name":"@vouchfor/uikit","version":"3.11.6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.6","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ea3abb25782fd74d760d6f472d27ee8841756d05","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.6.tgz","fileCount":186,"integrity":"sha512-nW6dK2UqtKSwNHzlVZaTe4yKOuaaJl734xP68Z11OKlwr5oh3RiBcAXrmJIGPuUvybZS7z5CrVCBA7c4wQqywQ==","signatures":[{"sig":"MEQCIGQn4JheTamoDgi+NWCKz7NtkKOnZ8Kf99TrpJtWTsETAiBaFe58nld2opcdIGTOp143RYv7OwegY5MMTtKGImCmlA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22499551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPAJ+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGBA//XBKvE8hi6KtRym5gK6mFDV3qayYAL1ysb274YCD6B62TvpMS\r\nYjdfUyH4fCI10IXolaSNOsWKp6wXPk6YvwgMfQfyLpqJSYzVFumw3DJzRcYp\r\ncgtlhP1AFf1jXkMkFYdxGlGBXQcFIcJGoMqa1QblBnm8/ferRXRkR/0pkMrD\r\nXhVNNsWyOyELJX1VjYPbmK4t7CyL7a5TqNJgmgO6ZGQxwTtDnmxUPefzav2F\r\nvw0NIkhFfw+XQsK1xkp3tmzqsXXfsu57Ji1G/GAS9XhORzZs+xjdywHP/zsQ\r\nsXgX/h3dalcpObUkQ3qe8izWJbUOA4T7T7oncJnRu0xJaCyvllCQt01zCYgo\r\nP44ScQ/lPK+z3C6lBB6bdDxEG8ZI+ogQlsMiqSzFeqPfiulieJb+O7woUBZ+\r\n27s/Epqfhr/daNs7RiEv1ZOqbpiMXSNLaKtdk7H5YlNnkky7etBtyN/wDx68\r\nB6v6rtprYytJQn8JlyjudS6GIFzTnNTQJ5/iM1qWQ6Z2a8TfbqDg9P5nrU5X\r\nMn/HBsP8Vp8LveYFUcV9xzT3r5I64xURtiMNmwr/KUZqfPViB85CgBC9nw/v\r\nACkqp/PbUsi39nnVup5DfdNQR1paR6sUMCJvvK06CD+RAPrkMxbEapktj/7i\r\nQBeciBtylAJR0KW+taOR/tokb2DPlWpvmqk=\r\n=iIna\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.6_1648099965947_0.7855738944345025","host":"s3://npm-registry-packages"}},"3.11.7":{"name":"@vouchfor/uikit","version":"3.11.7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.7","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4842a792edd6767fbd61e0837725decb03db954b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.7.tgz","fileCount":186,"integrity":"sha512-zZ1OwCEYaW2rzw06dOorm1RauLVkV0ceWF1ObVGbDpzZwuHLACMgHqjF+SvX00vUYxx0FOaQf0PLiPBHFMkMCw==","signatures":[{"sig":"MEYCIQD4+eg7o7Ayp/NcHqdA06mQGbdhE4dxpjKOur2DIQ/UCAIhAJ/mUuJnPWooyZHfgyMCNDEVdKxw1kX2ojoutwY62e9C","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22567461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPN/MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqf3w/+KyxIMra4NGu8FVWalMcfMI/ELA/DYTP4AjMItvQI+iS0PgMA\r\ns3hYFfHtOQRfNXHROJtaTzRXl/xqOEusp+oVapX+kbFIe/5WgNhkedExYJie\r\nm7m7d2jbGWwsSSrTwIvXgS256HIBcXTu9kojow24qhpVHqDZ4Ugnm1m0+XgK\r\nZm5AGM7CMljfWi5jT2iXN31u8SwkrVdcRqfTxTGcKy/MJX+30IqQD1/K1HQ6\r\nrgo/bms1J1yYLL0QgkU5SgS8Xr8X/XNF5X/zsCg1f0ufdbN4FWmi7ka3RrGK\r\nDi88oE9lgN5OlFwmzxT/NaITMAVKOmwUyQ0MhtLTc+m1FQ7DQdCoB2vFkJws\r\nwqD1Dy89IO431MUR0elC5dVxumYj74WAHBnltf041DH9lZ1M95qdZGdE5q7u\r\n5a//TLK7IXYeD0EtSr/a/gvb6sI5M7ZMngpEmca9kVE+XA0abkG/v1gpzw8y\r\nCqi8S060+81gFhUKEKTr5ImUfgm8MCLFmf7LnUNmpkAwnuEXYhnc4CjwdlWC\r\nc7kBnQ8daziqZQu6JwMGT5kHWOnNLhfR9dVUAg+wdSLXgAW9xzCwvemPgxO+\r\nZvfFOcW7xXyxl36zHvNY63dAweqrIh3If0D07n9EVabn1LWIoQiAe7hMGdaA\r\n709lto0EiDD5R9F1HHuNWBxvV75Utm+SpiQ=\r\n=u9Go\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.7_1648156619640_0.7551753541199044","host":"s3://npm-registry-packages"}},"3.11.8":{"name":"@vouchfor/uikit","version":"3.11.8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.8","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6f497ddc81ef1585f9819f4668bca46d1f1e0191","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.8.tgz","fileCount":186,"integrity":"sha512-DmEtUYdEoJsOmnhgee1mW2OsH4nnMEuyxK+OUKEVgE82LTsg+04AvibOPhW6G0cJaiJhXVLcsiUtUeUiAMJELQ==","signatures":[{"sig":"MEUCIQDhwXRH4HxcGsKvP1DXnJuwA6J/tD3frV9dpVM68mpo/AIgELJ0dJkwI6RGc0WMdQSVmYFbpZxUmroVG3BLRCjHLsk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22567497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPO65ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFBQ/8DctqzsyJhstLeu8MVarwBNn1wdYhBM18JmApp7QKaUlNNKm3\r\ncBNYNGdXtq79PXBHT293LybHPrthERNZBSxOnr9onQnd5Hv9F/o9YsfhaopG\r\nfoU7A1JLSi6Xwn9Si9A++hUhmM9Oth5nFMNpzsHdJFNu0FuN26pF9VQcCfSI\r\nfhGNHKVwBytcnAYgTu2bGMkGquMdNtQDF62Y8/n4B9bUN71S/KiyKoe8lfVT\r\nRrXnTiXqX3PRj97g6O89U53CHQxzHScSfdmNwXLHwh4IpGlXmKQcDcczWysS\r\nPUKjehn+4avr44eCgm2WtHNxtAN4xd0qVtwycSzVQQ0MQiUxtLivc0/vs8Ft\r\nFLOHuqZTZkgQ3gJU4SoshYfoZD1dsXmImb/SevGjr+Eubmvz213UVYt3ZEmD\r\netGgjYrthxfS4Sj8fS0S5fvECft+zLD+UFJ4huTsJia52PP2T6g2lWvdU5kJ\r\no1WuIeLsgZ10ccUyGmDDoiTyiL37sFJ2ybS+VfsBu0aTC462jvI2f1gxMw3B\r\nZGMq5UjFfXx6NdzKx8d+1jGvMvhQqhF54UZgcO0inGRKShV8Co0RSkX2pyRz\r\nWLVCwwkCtmW6XAbDVOP0nxeyGrLk9ecw/DsLaEua21NKnlEdydazndVeuk/r\r\nAqnfK2B/MVchCe+C7hfdAD5+ommeIHBflew=\r\n=KJsM\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.8_1648160441042_0.2782712483589749","host":"s3://npm-registry-packages"}},"3.11.9":{"name":"@vouchfor/uikit","version":"3.11.9","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.9","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"959ea45ead163b6fae8df33bcac90821d96ccdcf","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.9.tgz","fileCount":186,"integrity":"sha512-gw62VdxbFGRaJwOtUDqb/46y2Yzxl8fPd914sTrTTI0BLXDjPWYQKWRZ9afBo7x/g4B2PW6fzgW6yBbolmeWfQ==","signatures":[{"sig":"MEUCIFWoWAJts8Fzbm2nbV5sE7lGAmR+RYg0+mG4YuS75a24AiEA35Mk8Z87aTvUmav0IqJgYOuJrTEYHiV80gUrIIhk5rs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22567201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPTgnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLjhAAk8Ci2tdrXg/fzdRJ/C271CZc7IV1WgyvmiJVXeY/J6299mqk\r\nyjqSGusFd3uN2LGTejAsX5YoxtkJVVd5HLiM3gaR80TPdb/Aa9tDPZXS2qcL\r\nZIOyxame6+37NBjnziZicPJqESYTd7UF3PqwzLrJxbdkGFVi7z8asSoiOsPC\r\nEQv+649XMFb0nTthGJRrrL9GUY++/ZWYXSFnxMYp3Tqfzi40jNMdFRnHTAsr\r\nHDiwjGEB7cZfPrJo7ra7UG4R5Yxp08ho2pfOe/qkp0/zrOaxtB7ZXvM+UKD7\r\nuK5Hb/qizznur+QdNiVmohdH3PekbjFZ4vNoeByohRVsYmh3YpP5NVoa6rKd\r\norNwGXklpo7iTBMAY7Y9JLRKyRPOAEoKFNPt1FZpNF3y6UnnlxztZl/lDToh\r\n+bNjbMvGx3GzLVvDBX3qKMhw0/tVz+/B/40wORRQtofbG5MSX2iT89CNztw7\r\n5XQNrM2V8ArmBNIx22hDZnFcvl+kT6v6oeMR0sCp5Gr4SyxEpQJr7hGA4baz\r\nLNK5h9zcU61PcvZ437khQAW3ESTR7VEC3SMivR4UHScgG7VZ9Flml96XeP17\r\nq2+Hc8CU+GQr4x3z3V//G4XNa4++cLw750jHf8Op3eFo7iobgXf80/8r5oAU\r\nGPMm2jz4RgscvAAzY7vjQvvcsOtC3q+pbvE=\r\n=2W9V\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.9_1648179239640_0.8102252227737929","host":"s3://npm-registry-packages"}},"3.11.10":{"name":"@vouchfor/uikit","version":"3.11.10","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.10","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d7d47d45993f0b2c589feddac2cf531290bb47ab","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.10.tgz","fileCount":186,"integrity":"sha512-FCnpnmgvjrPvvzOc4GONxawXGGBSMTqyx5Z297VEuGc2jTrlyGrsdlBbf6WBeAzOlt9C9+OaysftF5256lh9jA==","signatures":[{"sig":"MEUCIQDWuxvCIb8i5L9LdBkpY6RRgL1tNSLo/4kUjxNqHpwsigIgZ4v8BZDVVHTS4MY2K3c34eobV+H1XVzItMulLTtW2fk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22525776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQQLiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmolkg//cCwJ+rsaSuaPPRq0LhDyXrbToUi7gb+snRR0l8cfJLrzWzrS\r\nPYw/pjrk/4kf0ggsn/hNdfhXoGtT1N51mFCo+MwSodcWlyMz/pp2VK0Uj/3b\r\nxN6bb9pUWjiLn11hDk1Ol3/rWA+ZEzfbHCdcHEoCa5EZXnJs5BclO0ccKxQ0\r\nwyP/AEPQ0tktRf/A2oCa8LDun4FgKQ6h71fcaTn5AuapTuip+ppZJFiANrvs\r\nZm3GzfFigNVuB/K2/GMDCeOuVRGtJJvICxQT0FyRtADQaSFhwit28Es9s5m+\r\nXXVJtiA0XfupMcmvQUYUoSGg3mIozb4gqEY4IKII0ObLOuJA2Xqslw+bCAL0\r\nmHlhuwrUWM+HfjQWMDdSEZ3EwUyL7Xu1EXKWqInTnLk2NfCeWe0asCZTtjs4\r\n0QpNmf16etlAVAAPGJaVUJNpqtdksvuMwFZ1bltzhMj84tNLrsLnK/+oM1Li\r\n4QYiTe5yV+nKCZMstkSDEYvy7H9LPzWaySdNCbJLcE3sLusDDbdTTEHnlMV0\r\nThtoHcSsT3ffz4oVAK14X845JIcwyAmoF3nSLeE1rFL9hvm0D3Fho3k1VR3U\r\nZExArYQZWASSzY7VmrMq3BHessecSdVlW0mab/HaCTrVgzSqF5RUZZW4ZEpf\r\n08T3Y+1d3n3YzWHJVeZ/FixxO6ftiE+8AIM=\r\n=IsPf\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.10_1648427746665_0.5167039792295414","host":"s3://npm-registry-packages"}},"3.11.11":{"name":"@vouchfor/uikit","version":"3.11.11","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.11","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"501ba3dd4447dc03f4cab314d6996e4b90bc3a80","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.11.tgz","fileCount":186,"integrity":"sha512-DeIlbSzezAHisWqwq7xVyy2qorv5Y857ImmrOg0/KqgYTf2sP+p4KxaNYYu3AbVaPxD4JPUjFzfMMBH8yAl2lQ==","signatures":[{"sig":"MEYCIQCS59VDJl2UPgdtAJXogVjrh9tf2KtAM8N3CV/xeGA8gAIhALhBWvHHKJmT4XOqzZG5SCwg2YBJb2ctb2TysHkTiE3E","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22581211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQQMpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMPA//a+Q8tXiPO4PGsHVHPhjriG6jKzfjlfsNnexpNC8ANO6CeVjH\r\nscQMiESCzPRYRsdVGYq8UthFlVhdju21Oge5+hPyxyGmrFjSRPZQdlaMc0zF\r\nQkscnLkivBfWbisRWxla87B5PASUpAiwkseFpoq1w4r0n6z0FJUi/TILkq4w\r\ni4FMrXuj94qaGSweWpRRb/CuY3KU+kjWvOKketZm9RMA1j38kqcOa0CEYYMV\r\nt9h4IF43/eX7CCm9HsicGyF5Z1ojjhiRtjZQ0cVx4VeVSeFmcZDydaGRpPXK\r\ny31KoDyZEezTX+t+7hozUEPOWDfYqcMmTOSzT5q0+l+DOTpTr79bk0G5EFXM\r\n4hmkvQX07go6119w9EqC5B0D+OiCj79Uerr4ScIzDLxDRDyuGrLQY9WriD8R\r\nNIeH7dnf2jYYB7FrUoO/W+QEzRM17ES1tQB0bR+jKJ5/hz/KRKY2TEOe9xnB\r\nky/EpOexQiYvuTCrf13fcp2niPBjJa2CeXBbHEo1qps5qvgspIjA1PwNDn9B\r\nPqcYvbQplbYYpLq+hQakZgNLySYR3sOi+krL5gfrL7O1qkALep0y4x2zqO1+\r\nrW7Hq5ZRtaZQ5o4ifF7eBOktlskvgCiLWFO9qn2VmB3rsLLSOCoee2t7a6gs\r\ngBKTmOeUKD2R8UrUuRWx0Ci4w0QleXLi1IQ=\r\n=/yKA\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.11_1648427817711_0.0797815300524769","host":"s3://npm-registry-packages"}},"3.11.12":{"name":"@vouchfor/uikit","version":"3.11.12","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@3.11.12","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5fd34a97b8ec44a228d6df6d6544ba3271559b77","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-3.11.12.tgz","fileCount":186,"integrity":"sha512-yGGNURgY3RiLeEHWglRjIveTpy8BzL4xZ0kKVwCKgCSR5wdlP7nBakQl+0LJcmYVDYdgOUcNrcg/p3PDDygOyg==","signatures":[{"sig":"MEUCIGd51acAACOqd7Y5P5AxbBrSeJ70rRjTv13TYUxjLcdBAiEAtxJBWiTwevCigDtUgkx+6eqsMj4xgPHx6l713piQhqs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22580353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQQq5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmowhQ//eeiTbfmCt6yU59f4pI45Iur9fkKozTn/p4oVrsnlK6ECWLll\r\nw4gBV/s7wNhEROyAvCHn79GKB1QBuTokbsANfkbm9aFhqzp/aQp3Abl5vbZj\r\nXEDvU5qYxAOJrOmXIMil3dUgYfkxaJtV9D7y+pDiLBWafUBF8xtUXKBXFUFY\r\ny+Zh+7vVXiLX+ViyOGtbkU3DIpJMEubV86UOTFYj/1xTl7bB3Zy8GmLaZLp2\r\nGWDs1WqZIi7Ubh0BNOLjyvniF/cYFzhJXCpIXYrcMGZIWWAARFHdah+yEU7O\r\nOuKBB42omvIXmtejSJQB+eG0MVkj+iraztkwn8FsG67VPJk3u6J1bqMoUbsI\r\nLb3NPC47WXPy6tHB1owrVo+W7o0AgwYSJyUAzpexno28dqkpBYasqkaDThkY\r\nlN3X1b5ioEr2lXTcMXJqmp8rqKo7SIhkZ6FOLI66o0XJ8LhEFenI8E+N9UEb\r\ns/VVsYqSarNtZwlAf/dVVGqzWJEwDdt2Xqr5y/6HCa53te/3PM3mM6TJGqAF\r\nECUPYcrUbMFXJra0+taKhqQyISuK3BRaz7rg8fsJdYv0BYoMb3I3Cy9AhnDL\r\nYz14FrsVI91H/79CIkEL9unOMLQ++/Wn6pxLG4iUh/YobxXNbVJEsHOtZ+95\r\nVj89mUn00AaKG1HRIG1VUzy8lz28H0948a0=\r\n=+xu2\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_3.11.12_1648429753230_0.13210824450289071","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@vouchfor/uikit","version":"4.0.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.0.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"39679326979e37d9ef6ccf40156b33b300ddf839","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.0.0.tgz","fileCount":186,"integrity":"sha512-akzy9NZmIPEqAUZmVTeaPzU/xWd6WpCkQOxrhJODXRy5IgxpKXssw6P2KX+Cyh3RAbLwamkyiAfDFdIEK0dPfQ==","signatures":[{"sig":"MEUCIQCQjNtSo1i7+/319J8OzTmQ5L+qFt0GeSmI+dtA/XcoQgIgC/ok52Tjk+BrUs/NhoDsNQS4NH+aCqbsEZUS6G5JQlw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22577931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRUlqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7dxAAjtgzt15v6GTy7jNxHNf5CmN7xTZYWveZYvvXhmIKZfrQt32s\r\nMgXFZVqjo11gYWLWYPfozdWy4Yq9kNsY+OuR5eq2UA4Ld7QCSVBzWJvRcwmS\r\njBfnJIcJQU56lGBxpSpdQRtuPG8iKb+AuVMKw6u2PKgDxmO4T/EfB8sKKEsx\r\n1IT6hGlR9Co9bJu2QrDS/p6I4HuUSadTAmQzA/IfB5gYsIK0nx06pdN0KY7s\r\nvIma2JKvDkwTB/xVSoHBXqyXoCkuViDZ2nnRddMoQe1AV4Xa/fCdDBNV9hFq\r\nNwXYegPe2ed2HU2D41i81hKAYodtzBprbJ+avSsc9x7zH+m9zNGTSYZd3SQN\r\nSxJDZqIPAFBeQBeyXwfsMr7GQzM7x9ZJOIlgzjd1Dne34nj/CD2NT0HTU+ku\r\nsFSMdIS0LXWQdieLWKhQF6Kl5krST5GMTipaM/ch7iyWDJ4zoMLfupbkEdnx\r\nQ6gi4UGA3CPjJliWd8lujCirqyoe/LGh3pIzZAwdeTAzd/wUi6+72VKP+Uiu\r\nVA9TVIJUkBer+Ndg7/UiYu1rTwl1d2ct8v4IIDWOjlNvByjTMYDSsGLm1paE\r\nImPRRlqzF1vs3K9RMtxqBQ2+Bmu3Bl2bJaxGD5fTIQcZCYigQmscTZ/OeAaU\r\n3eol3PkKIo0kkG6Bduxdy9GFUT5+WpZ1R8c=\r\n=xscG\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.0.0_1648707946408_0.7075528358726364","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"@vouchfor/uikit","version":"4.0.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.0.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1093b9cd942b949b6798d4fc2c0119e0f93b1280","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.0.1.tgz","fileCount":186,"integrity":"sha512-8Jcr7lCM/r9xEBFqgGRAC9McUMB2l7a+zIkwRma77TcLNoPRudXUMephaBvLo3M+X+K7b2dQ7hSZsfuNcoYvVw==","signatures":[{"sig":"MEYCIQDrzZZNUb+/n5BYU4bnpWGULQ/GoAtMy6iFIhZt15R9GwIhAJsTV3iZrzFAYHgMnHamJGxxMHveVDOozYWHVQPtOyvi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22584465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRljPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmqA//SxiKbrcPwPTljTdv9i/0opCZIcpZJJMl4UTdyPY/LkLLyjW9\r\nmaSrEvg3kmWqecVBrni9iY3y6BcDppNtOp4CE24xWc2yDMKHKeG1VW6ENI3w\r\nHgsMOBj42qpBWtg5pZ07naPNBns78nbx9wfwbJEAeVIED4t0zFQX7XswmxK8\r\nbZe8ViHTU/0OWqQFqykQgDcMBAjFFl6qYLRr9oMjkMG/X/uepAeBQGcq0JE0\r\n2GZRDNSAuPGfysEeULgkYJflq5/HBXFlG3x7U40TAQLH6/PTZTs4+77hXNVQ\r\nGjXqN5tM0cQotOFCpr9PFitq6Jq25JXtZeHVO2GpzLD4hSMq+4uG7j3jLT4d\r\nJCeSMVQorbt2ychgOmEww/UlrvsK/L48NAbDSL19fQXz8tTFuU2e55uETOcp\r\nfgLEGR5eWY+fA+vRvVfxwFakGQs5/fxqYkNxDJbtX4FRAguJSxSbrPas/Hr0\r\nTXAex6HX4P4bgUTT2VLDXxCz4msHp4v5OrjAXnG9qBLywHTe+zI7rSyygxry\r\nAlgZFw9u9xR74e+w2+YJ6Bz7/THijlNtSLWg/qmFniq6DxpuCdhFqCl5GudY\r\ncGey7zMoyAuZDyy8KGE9IX6luiasuwB29OVt97C1/9vy4fylr1BqF4JVHP8E\r\n7BNvG+UNQFFARpzlCN1Vw4aBnanXQAcMhes=\r\n=9kuC\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.0.1_1648777422496_0.050040202752553054","host":"s3://npm-registry-packages"}},"4.0.2":{"name":"@vouchfor/uikit","version":"4.0.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.0.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"fbc236fffebc5c4b01adae8b233c723cc5f5c742","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.0.2.tgz","fileCount":186,"integrity":"sha512-pcNoJhU8YQ99xDN5D2BjtikwxvfKL9qcg7ryEhf663m2D3s28RkgzlUhfChmYDtL4VeDVNgMsIU6JHjcvXctBg==","signatures":[{"sig":"MEUCIC0Fivtn61EgMTRF/Sb/IhLsbV2vxm8FyZG20qKR+8O3AiEA2+rEZtpH38sA60twfVBDlFG0lpn+0/JtlZ6wBhcw6cE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22587599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRmsZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDUA/+OK+sJeVkJn24o1DbboZ0WnkTFtBCnh5AGjFc65BmO+P1D27Z\r\nQvGAtXfJraXqY9SE0kZOBrDMOcCD/TcdSS/a1ni/IzTAWwx/LH8gAj3+er2+\r\nkaZMppdhWOnDlP0pwpM1p62PkmzPMNLfCv3nOsKEkSCCjrVMp/Tb02A0O+1w\r\nD6pxAbxVKWCIm6qvyzzi9GMERLvh7sVT5HrI4dIIZoYy8/vPqmuF9uF2swW5\r\nwgYohAAq8CyOqU62Ib3ouHxspeVir8FjFxO8EXlXvniuJnEC8keHsXHbD8oN\r\nf3i/VAWMh/nUcgV0xPrFNKIvL8JQDW28rAuxmtnJszB7I3mGHCat+l5LwFGO\r\nXL9n05xc+XLGErTeZDae9H+G4Hvmj1T7JvPwJqu8jeGH6eR6LtmfL0s1bB1x\r\niLG3jSr/vM8vb4oiqbsdjSWMpr2U2RedbJeEsug8vlHFjgGT+smAE9fd4GP5\r\nm2RwCh/vkPwG9awc5nBH3LXJNTekcTlmmvDzW562qMx6Cfif+Wqd/VoniLVw\r\ncFYETtSyBkcKuJgPHDUJgpe8rxzp3XXDTMbUy/78hSotPv4pdGq81Y5bvCJ3\r\ncu26LkUA9pK/v+G66ldvjKYVth6rT6C0ex3wuADbgcklc34rPDK1Z1N3fsXq\r\n4KeShPeCJ0TThkK4gqWTyzUdOneNmjAXGFI=\r\n=FvoZ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.0.2_1648782104997_0.09066082079731008","host":"s3://npm-registry-packages"}},"4.0.3":{"name":"@vouchfor/uikit","version":"4.0.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.0.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"61456d98328b5973c1026201df58050b2e9956c6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.0.3.tgz","fileCount":186,"integrity":"sha512-39Kxhik0DV4cRJdJ8EcgpSe+H4xKUTn/smXJkx5R3yJpAJ7s+/sheUjZgiz0KrIfDe+VNmwc0TCiqMVqKgWH+g==","signatures":[{"sig":"MEUCIBp0ZIYf5adDTwm8ENPwMhQb3nCvuqqrWldBnNqPmk6GAiEAhS99coCf8g1+xa5ha/bp884Z397GUKiVSUTc3XX31UU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22642995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRnY6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprfQ/9HT9zX6+EkXf+IsloU3j1hvXLJfFxM7Vl5LNhtMxXIppn+U7x\r\nLrOrrXNAPPFD1NjgRtJ6oreGJUqQLcuWMxJUgrXHmXTJQd1PprQk8wItRxIk\r\nl3SKxyly9SmHkaHGKXql35P7HSkkG7IfO1SbOITqRRZ5Plcpe+30WePoBOvJ\r\nfOCWrSIn70fK6v1xCIJJpkOTOFSYgccdjeyMD6H+uvOLwgKEeH0UVDMWMXUf\r\n/40wsjL5o+qFA8u2fzWcWXcfnAVputp6IP9V8jaEnhN84r1eGeYj6g36JcDe\r\n3eMQFYRf+G3LaanBGl29G/IXTgObIPgwdqYczAoQP5p0RQQ51cAaAXNEwGyl\r\ncJWNkZU0Fh/CSiTIpxz1EUTXLnVib8Pa2l0gTeqQimsxLPNdjl0RnyMdKnqU\r\nLEQu1P7OVEArX9Tphq3ZEok4LKI2MQur40Hh1DqATOYcrYyV9sSIaTj7Zy1q\r\niMrAaFealoUD4/POxNnyt/tJKurmaTGxxLONkTxj63QTEToYA9OVVbLnUnbC\r\nZZwunV4vJf59hGNOfmT7LvjS7SjX70wuoiH97S/w7FHazuEVPBoM9hQwynX6\r\n7GTHJ1COnuIRk1nLPLKlDGaGcznCRC8VRCChQJwjADp7VItvEyXfmtxX6AfW\r\ngJYscL16Igmz/BwsxjsvZ8d0VKFi8TsASrw=\r\n=WWPr\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.0.3_1648784954050_0.5376335117592854","host":"s3://npm-registry-packages"}},"4.0.4":{"name":"@vouchfor/uikit","version":"4.0.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.0.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c5ce1adb3e7ad3eac9d2de307f554332cea010e1","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.0.4.tgz","fileCount":186,"integrity":"sha512-Zc9XtEOBnezvgrbJSaZOH1XLylIFt0jz6bwjV+PkWO9A/0umuDjzVQtgQnS+H88u/g1r3cIMab8JqhAnyqh0BQ==","signatures":[{"sig":"MEUCIQCAV82JJ6mBAeCN/0L9WlC/MFEZUkbYRa9dkBiP37wXdwIgUUcWyRmx1SQ214u8LbqtnaFqD+VH1a9Jh1zK+vfj+8w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22586592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiS/C8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7hQ/9FlQiAlAOnv1GtzWEkD1eqIY7l9mvKHk8QbakNIv20tydKDc/\r\naVExk7pLWqYdPS2sd/Vhm24hp7JKO0sQyG8klFE+pUWMq3EKLtvbg6itKFnb\r\nsV/2sE7W3AC88l3hnOsj/ZnR9RHazR92d+Zzz1MnQqrpHLzINXvZZ4havuTk\r\nUqBbC609DHhR1o/1i56s11CAIphxjKlGnXAnD+sits277zVix4eH32Xd+/QI\r\nl3FMHLnMOFSYvbMKfDfOPfr9Ft4V5hA7q5sL44i1Xnd7KUOqKccJBTh1GhnJ\r\nwVe5sYDhH/2D70+93ejL80xwx+bz9Fff9aubm8Tn3EIZOb79h8rh1+OoLyZJ\r\nnpyCyR/qO0n1bfxTzRujODDHYdMJ30GWmHbvJjsew4Na2fHUPB1Ta2sMvpqS\r\niIBLkiK5nVShaNzSBRLvBcQLsGSw9qNbWVkNh6HjnFjBA4KUuPf8HN3i29FF\r\nz71g4cGl9TZHgJzdrdOBcRktl6GpDEGRfyqfmlOyH3s9T/Niu7qQ4wdLXuGe\r\nVLIZzmH+wR9mHz6lVKhNdCc9pFeYD3LlVVJDn149xyf9D4pOvevmAoBYos9K\r\nNMt8+6NrQY9UV0OkdAWJ+gffSpmXLHqX8onvqVz6YaQxZ1akdNrV4MP8rzP2\r\niaQP26XfpseNb99sXK78Pxw9CZuxCyjQOl0=\r\n=GLm7\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.0.4_1649143996359_0.6499847959525573","host":"s3://npm-registry-packages"}},"4.0.5":{"name":"@vouchfor/uikit","version":"4.0.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.0.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"dee7de925f8b2af5a8218f46f020d950c31da62b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.0.5.tgz","fileCount":186,"integrity":"sha512-IYHwieY85IiePehpSOj9Abom9pUYZUwS7yB0Gx3/NJZItrl1zR6oIx9ijaSam0r9ZPOlMMQ9xUuFSry3Y6mP3A==","signatures":[{"sig":"MEQCIExOOtx1cJYDWf7IvLpqGUxAaSEiWd+kTe+OfiDlOXEXAiAr5jVg+HJCMdG1OgJ4Ap5oEvS/SE35cyDrAkoRG0FiLw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22641988,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiS/EWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6cQ//Rg5wM5Q0yZ0fwCncI6T4NWNSjvV5we3CCe7hY5a5iOwzoHUX\r\nbmy4Bja54q7852/ax1LIZlPfCmedF/w7elzB3Hk5o8/dY0979xgdxhqfsJ5J\r\ncOH3+/0Z74JVBFXwXC6URl/oJsHfhALjt/YOvRNedO9TjDUE4lfHDRmnIuBh\r\nRNNikKuUyyUybcJLWdUqpKyLl6D6/fNeZhvGkHkSIuagbeXFTN3l3XwO9gFU\r\nblIh2T1nTn3AuIb4udA8wYSCXQdMIUVr7w9z4zn6Ijg3pWOXkCCntO8EM/ZG\r\n42CxrjKJdXzprlyTF0YZKR1vpn0k0JF+Be7deYSRW6tSIbgy0dv5lYMHgpRh\r\ncsOwVzhJ8TzDci5ts5fP1V4LFQ1ImdcqjjDxkFDpxx4LhqJ+njmL8kogKsj7\r\nx94KuGQedQ+gJvjWTRwV51VI+VD5Xu2iSpBj+LSzycAa02hBGFSkcEY51ckD\r\n29dFE/erURurq0AKF2wGuEg+v0qFumldDrYUwm+EOw6/s9xjW1OD2muRQVY1\r\nnT3K8neaBDt9C9FyXldqZaHLOuAXsujggTfOLStpczTgoffVVrSftrSS/jar\r\n9s2oeIpgH+u1RLCTZJ1hfdrIaJ8UDU9qhjeE9tsmbpZ4c4uwspufG3UUBDhf\r\nYRHxyNUceDLRKGM9VC1+Kz6zOnqVQIqrVEE=\r\n=fjOz\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.0.5_1649144085854_0.58065442210282","host":"s3://npm-registry-packages"}},"4.0.6":{"name":"@vouchfor/uikit","version":"4.0.6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.0.6","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"975369a500455eddbb1d8786e7a0717cfdffdacc","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.0.6.tgz","fileCount":186,"integrity":"sha512-6oDqFYARPRUjbOdyg0Fui+WCODQNNB54eNdiKlaSxKpKtz5RyY4TUkRJjddFieN2Bm/DjmhGS6prEeY9VCH0hQ==","signatures":[{"sig":"MEUCIAz2kwcUNwqDywZLgL3xTk+1qhB4cuhQcrfO17i5AOiPAiEAzynva1E8ByY9ViHw1nmYmvoGO2wsw+bZ7rc1gPtCJTM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22642137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTNsUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnkBAAivC1MDbfmZIRM54pqhlCQ9l2TkMhGYo9xp9jj8LgAVzQaDyN\r\nRAoDYQAI+laicBxBbpUO6qQOUFuI7onsjxS5fuUpxqjrKnv665R9/+ttK82y\r\nk19r99WIP4rxJ8fq64D2c0Wu0idtN4Zgbs4hKb8Y+sG6AiamHwBZ8tR6XlDi\r\nicTHt2RENlUQI1TFK6UxwVPmzVOk0zPX7XznozeuXTI6n/OsD6Nk84RMLg0r\r\nHcAbxL9Mjpa5Grk15AI9cGTV3/w5eGfxeEcoeYRr0x8ICl5tty3OiZTn79k7\r\ne026JjLcG0dkkKKhxUiBYOj1EYev2U4uxnpYun4BKRFn36B3OK+8OxPs98r2\r\nSUOoDPIBLQgZ17OUSQoB5Iw2st49ISoyWk9seK2ym+A6kb+WGF+lfOO1voLO\r\ng4/QfvcwEI1EYzpWdeqv+62l8bEbUji60i+Pdhg4+DtCuKaYFK6FVGeh2Mh+\r\nV6QBbSMsP4M6BUN2YfLj0AU55H3FPYmHOvW2Tq09bCoTkivgZ14Rpmz76Zui\r\nhgqt0GnHMasSDKoAPeASxebdwiNcJfoTYZJJSlqbbBHMupsL1NK1zeK0BFfo\r\nfm9wIuf9W2ko/mR5yOBQOgzg6wtJSbK/mW77D+LAb3lAmYPyTduULSCgFRjK\r\nlk3xmSDt6hqCfBdSLDMVxlVCIq6oaNJiH3k=\r\n=tROO\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.0.6_1649203987897_0.2785915032790407","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"@vouchfor/uikit","version":"4.1.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.1.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"76f5538ff4abc80106e66ef3105b0b5019e97f14","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.1.0.tgz","fileCount":186,"integrity":"sha512-UqeQL/nRAF6z9ToZdU7TUTEX3ooR9QSEaeeTXy3g9akosmf7ZPHIng25/9SxDN2mrOSIzJjyzTCbfVmgIo2pGA==","signatures":[{"sig":"MEQCIGw1E/RYTnR1oGjijXTHdPXpgJJJOmfI5E2cnammzLx6AiAYWp2NoMvvUTxUxCXbFvg4X3WHbnPUlLrLOykD0RLcMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22678236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVgjdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq3iw//cA3lKiuOXEraZFNQJ6onjfLmvLz4nPoQuBORnIzkhQVG3StD\r\nexYCjr2UW6xZ68U3iJMloxn+0am7rxEOqgaUTP29FyEyw1Q4jx7q+kPoNlqb\r\n+HxbRklzESzl4Ed0JlDkapuJSmGQNiVSEv2hiNCX3Lkin1QVpszwPGYl5LgG\r\nkngtUe6yGFEn5LQwdMZKgthjnWGJL5GylhzvH3UgfjNktTIH85eVMK7Uc4a1\r\nr/u1a5YupLuEcbUvc+WDrDwOHM9y/1irhqpHeD75HSQG8brlmgw8vqIa6Cm8\r\nALDaHaiwsBCps+tBXcBngpDpWXwd8rK+O2Vd3KVcWkT/hKf7TTntmrU33lB+\r\n0lthYe5glgojjVslwdpbZYNcejBSa/Hqn/8tT5qx+9TQUl7u7O3cmWPaVRZO\r\ngGm98t2+AOGQB//pZ/984s6+0ooScPtL3qtfOoJhRni2zntzPIP5VJwMRdo3\r\nYGWPauuGxrmieU/AMK41zHod8JzOrD/JiHE5BbQi98tc15Z6FPpmAPMcNb69\r\nG7/LOlj5Ijq4RQ7eGm6Xg9Rmmwbqf9JdopokG+0KhsA1WOUGv4WjNW0bZHNl\r\n9tsDquAh+0pxGC1JLdeekUI46BgdHBCKZ5tRE79/3C9OdzOoczLiWtxdiJbm\r\nT0rQPsuihZlTNPE6JTcLuQvvJeD1HWre69A=\r\n=8MmZ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.1.0_1649805532734_0.7343074227388833","host":"s3://npm-registry-packages"}},"4.1.1":{"name":"@vouchfor/uikit","version":"4.1.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.1.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ca8515d5b6011957769697f29b0f64743220049b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.1.1.tgz","fileCount":186,"integrity":"sha512-943Lv/N6Q+PTcT1ZDaVQ3X3jKZ3mK5rMDu1SSDiXxQ24xP8EUKvTYX2n1o3YeozoEHm8s94StZToUH6J9L5+/w==","signatures":[{"sig":"MEQCHwyhm+2XjWg8oPN3cWFhE9RKxLSurnnFXVRU1twOm2YCIQC1nAKViX5DSzRc5x7811ojqQjK+aBu6kzu5e7N9lo1nw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22678987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVlf8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaPRAAiVzdy9p6LQ0/tPie5rIIwC4MXbWz4xcO9ursRjBJiTCv/oKP\r\nc78sug+S8SX7tkMcF5AB8cNHglHgk3GuecXoXLFaHrNa6gJre5wZ29W4SFCE\r\nmO4QiZ8R1Z5bUXyiIrXh+IvqZAdK1tzvY5T3Db4hMLTNbnj7u1UNftBn6Me5\r\naztkvB1jdoTMNPwmzbeAD14M7r1ReRcDzPlTN8pfFG5wfwWiqc8TDC2uDCrn\r\nYJtpSndIdWARoVgQjVHmHiFBmMadb96Sejvp+fdeWpJVISTGtYpoUVJWdv5g\r\n+IgQOvY+WkPpJsmRAkgl28JdOMmApAnPp7QHVvg8MqIOORzH+eJ5Gl7Y4Rbp\r\nUmacbwwkJIi4eBxKqSG8kmuenHqUCwNKMvJPwRT/+2c0cRBFE0c+C4s1mIH7\r\nAfnvUJJ5nBZ0FBKbu6Y6EOGA2Cajrpbf6I/9AOyKU5ZXY0AjusipjOuuP/GS\r\np66xKHuWkrxrxdIzno4fKikC4v5bJepZHufHr7Jn4qRZ0zf8p9xmQnk/SLs9\r\nJtfaM0Prpry3gTywaeu3x//HHN/o+MPwVGSnqnVAMzRay14mKqDh1YEEVpV+\r\nQTrnCu2MHrkYagM+znq28OqvKLruteM5EGQdOAaZsvhG34QTNxemlrGyo//4\r\n6hHy0ngFCehJJz/IEgiWZCJYRh+v4akstjI=\r\n=Y5XY\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.1.1_1649825788669_0.26083666203791545","host":"s3://npm-registry-packages"}},"4.1.2":{"name":"@vouchfor/uikit","version":"4.1.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.1.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"90fcffd674ffe576b29549e356efd8b92c3e58b6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.1.2.tgz","fileCount":186,"integrity":"sha512-SmZuQYtC+c84lsFShImiZoepHmLeiUXX1cjpu2+qI5NeyWYMo3BmAnQ2ucIzMWTO4Km9ae1cN2jdvNegWoZF2w==","signatures":[{"sig":"MEQCIDZj/l1JnnSZyRwDEDyN40WdmYKbb1vNC2/PO62QMOC0AiBmXR2VNWJDfZwzteTHGW6lr37R3I9fHKToR1FuiiWXwQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22734423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVlhFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozcxAAhsG0C/Y7h09Q2VrY5SAJhPIBJtVWXC++N+pndOx2hI9f3mJA\r\nNUjIS9HuVcY7u18EhrBgSupiTJlcIXQgWkZFrVcl9Jgu3tQ/Qwu/5QXmV6gZ\r\n6AuNVEN9/QGumbtfNlM9THTccSxKUo6LR7eFpwcfsQ1CVJOsgdeFYUi1OJt4\r\nRScvYriDMOGm/KQQ4oeagmTZ8t60v1XxRa1xYXNIxhbfN+yUQqsBA8neSm7g\r\n/ejvtRf+YRgOhqCUkgbQH569aH4QcKNC2TCn0CR+TwCCUSMqPozxQZziShyK\r\nyB7A3zD13e2oZbgSpqzgQH5DkUbhTiGvs63XF8gsV1osX8w3XFL0NtBXIHtc\r\n7lEXgzDdXV3Ov26lyrSmOqABi/HXCcDyfpizFlrkLxpcOJcQ5CRdpu5MrttF\r\n5aoSzjvKURJqVvqH7l3B3kPsB9hqdqLSWJYqZnflKg9rle8NigG8omjV1Tzv\r\nSRkJ+cU/Siyysyz2h3qEcQIMS2daOso/OQBSyu6C0gbJO9UTTzFLYW3xzS9P\r\nFLi3zDz088L6Zu8tLFL8PtL9sB3AweTFxqAEiL7wg44nsLfo44beD1ogf8Ct\r\ndB8jcOCE2lIDj5emx8fg5/wCMaLwEGOdLDzwn2ReqwZkSunArQAXycDtbfpH\r\nxbqi3g3ZCaKlcwBbEASdPc1MoS6gVwXjMag=\r\n=T/CE\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.1.2_1649825861045_0.7794193307882744","host":"s3://npm-registry-packages"}},"4.1.3":{"name":"@vouchfor/uikit","version":"4.1.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.1.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"755ac3e6ab900dae18ee1529b69fefda2a604d71","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.1.3.tgz","fileCount":186,"integrity":"sha512-ZA+zZiPZbhNGPyUyTh4zbUL4LvxUiTsSfw66FsewvMQwa3CQl3i6watXpBQr/lMyXxk8LQsmGVYlpgFvKQ8aRg==","signatures":[{"sig":"MEQCIE2+2zfu6Fuf4mB4zT9M+47i1SxuOewCx/aGtE/ufCfhAiAY6XejrR+BhkySK8C6PPBc8ZSJgTWXcMb53IwXrtVs7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22679909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVm6CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPRxAAiV0loeeNftjYlSg0yu/4SE0GqvSFPSPPpAoM9UQgmfPg65Vg\r\nXCgZsnPCtGHaweBIrLUCi/ZI+Chl8srJ1fT8nX7lYFwTqoMu56dODTxAgURZ\r\n0A6kopdo/c2KbZXOul+C9pbA0d+eoPQm5DUFRuvB+vX5WhQQsu5mhrQRg10X\r\n/HE09eMiE8rPfL3xZeE2Iwzs6K96BaKcGirktBLgFyNfhW8wJekUohsBX+F4\r\n1tPLqdfzXbV/YoRxDaYdua6za/zqWsr9tloJ/ZTIj5L4P6jO1C36JnRdxW55\r\n3YT8tnaL4/Akc2leLj0sqkr3HYCeClF9+ZUEa1bnpGVpCbOfUEvPzGJ/rKek\r\nWs1SgKIitJfE/9B0ZnEVCm2jZmNdLgh3VMdMtoDchab/PoEzRn5wjyAjqpfU\r\n3ZmnZWLlO0m/Uz8AQRyL4vCDkxlYG/Q9+x5/VSAjtYa8q/uleDnXXhsIn751\r\nqh31U/yGHHvD0ttrytwSwPYH/XGwiAYyeJXNRXj25IMFMuqL6fLkRQQ+vcOY\r\n6H2NJuj8XcKtZWjXFWTNtwX2XQ9WXwAvZ5P8wsodaCqv/jNU8Oq35JkjomZX\r\nmzzAPxMhqhLCf1yP76wxdcR9uRVqrFgrvmPe2zzg9LhbH1QLUu12ZLnS0TuX\r\na4xYWTFJ6S924aEqJ0PFe4RwQOWDlJqI7EI=\r\n=LbcP\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.1.3_1649831553798_0.45732598250680345","host":"s3://npm-registry-packages"}},"4.1.4":{"name":"@vouchfor/uikit","version":"4.1.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.1.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"239ab4286f57747bf91418523040e64223936587","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.1.4.tgz","fileCount":186,"integrity":"sha512-J7S+dc2Rg2DvES8Pu8ClvisXvOkawS8rBecentK+5oV/MHgTTLh4bLSFv0bQh4QgpBY2WrdUxJCUavd5SHhSew==","signatures":[{"sig":"MEQCIBN8+TwMqvy3/tOAWG6QqyVtaUJ+SRqcs225GrpMN19/AiA5jQlbDUCwZ0yF8Ik/dqT/dpMU6vewuCg9yowHvNezqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22735345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVm7HACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrY5A/+OuMGMdEJZ0kumdNvsCJoZWVxUyWseu8jryOGrGxdO3GNvmoX\r\n8akdOZnfATPGBqy5Yl6t1pTDv2x56QkSAMeY3rdyKi/S/EGa3ILjsPVZA9XR\r\ntkidXeA8i746vQ8/ZLDDSkhnG2h1SWU5P9D0Catua1INljdVaNegEerRsdS0\r\nTvDM3o1adp+K75iYTaeerJQyaxZAEnpBpmtMxGvF11WhxH3pgZORJlcfDowg\r\nui2gY5GmUH0IvyOsC6/yP6kB12HW0mmBTxoWvXNAD5q7SaNQ1oTQZpAsQEfT\r\nc1er58q5v4LIV6gp4aowRCkHmVuPvXTw56vwE2wotrj99p+4+Ps/cPVX+iAu\r\nVBLaOQIGZIcMPMM8pcRVDLKJQqhWh0UhlTWUwoZL5rPqxsrQoKideaBv1mvr\r\niyxyCBA7E8x6vJ5XH7+5SiWCL7QPlCbuhYoqM22u5CSszSmVMgKSdpqXBBvp\r\n3TZCSUORjXuWw8dCo3BOpoY1JPJnpbjGsnXZ4/5Tpvq21IjphaMtgNqImTRi\r\n3tRBe4Mg+mWXopj+AB/HiHTk0C9PgtvlPOGmrEvBAuUacrFiAMwAof9tNvIx\r\n2ndBtqTIxV6Qv/U3KCOjRY4dPZZAdFXWQITjoeRI3IkIu77FcHqEnSDLRKDf\r\nMtPebeYS6VlHyy3SQbb4OjangAaEHT2Qjx4=\r\n=gr9e\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.1.4_1649831623412_0.9480643067304562","host":"s3://npm-registry-packages"}},"4.1.5":{"name":"@vouchfor/uikit","version":"4.1.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.1.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0f0ae211b88a0c6d2cae659ce3afa36300c2ecda","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.1.5.tgz","fileCount":186,"integrity":"sha512-js2jPLKTinpf+lwvs/UmfXeAqrEx0yjasbUtGEt6Zanq9HGLWT4wr4+jri9JEBwxVNs5LykCFVK+sOtoMXxGGQ==","signatures":[{"sig":"MEUCIGSqr7b0EYp2Hk4x+f5uBJ4D8ENU35eho0T0SIu12u1nAiEAhe304LFElBNp9nZ2qKbIKQxO4YrWYNOzaSHJYsUylhg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22734487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXjMFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrY3xAAiWSGcCeK72hsNXxgoh4Oe/aB3TYqcG4hNhHKD6e5ugyb7Csp\r\nd4awfBTL4MUnac+6yE/ZK0TrL5zEGoiFdhDbgkqcB8ngdmgPCHcpH8b3+IzF\r\ncdSIpynGW7KuxNIeogCJxtCI8sORmOSBMu+P55IRPWatMvUA9+j1T+rzzpPl\r\nv05ZJ0Q7SakS9DkYHKDbx4Ucr24lwDvPPobmz+DOSIPAhFTj5K3bCFnnjC8p\r\nOlRM6e/5MU1pKu07XgicZQrbvcLndBCgjFS5FXUKTFpc6MjrocSGvUfklqm1\r\nLmHTxWMDkTlqN62/le82aScYH0qwhPa+s87M9hnykoZyS3kN1PJ1UCrRKirS\r\nD+heLUWnbmuSO1kP9wc4ESRQlqbESu5EdHeV1pZWt7y+yQYDXWUx/9dVsgpW\r\nzmEybT2UE1awpuQHD/FBv8RD6Ptwt6+RyIH6haAs/f5HLaiIsSk99GGbjx0S\r\nVs/zGvQHQywsrUQNU2xrkxJ6PRYNmXwJAvaQoyv9tHh4ipmQdMC4Pcr9+05N\r\npkjpj5fgY9+L+2AoTmO80oZd18bgL0pp6Xaoxn7ztHWzK/AtOIV3rMPBh5vZ\r\nGtGcbAWqqGRx6baA0F/C9pQL28wMnNISuEaoi9R0LWTeRP8nSV9rplZIi7rG\r\nL5RqJtr6lg3dgYLqx0HaG/ued/1gM8bskNw=\r\n=DT0O\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.1.5_1650340613438_0.8204913159691363","host":"s3://npm-registry-packages"}},"4.2.0":{"name":"@vouchfor/uikit","version":"4.2.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.2.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e04c02be0e269b42b9adcf669e19fd2bc2070acf","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.2.0.tgz","fileCount":186,"integrity":"sha512-cWVzpP6i7+YdH6qggWVlu8fkcWACcWY7i+L2hJ8Et7In3rwSoWiWM+uLhL0AqMqwYya0QoerLSXDb+jkSq0AUw==","signatures":[{"sig":"MEUCIQCAYLKNBOCkwcvqANU4U0pC4XvEtMrvIizGbwnQK/82WQIgOCiZmLAFeyXzZdZrKFRBS1VZISXv90rcppjMJVQ+gbU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22695724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZ3ziACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZ0hAAlpJsL14MbliQMwHw5qyaCibstx44FsolOVdj3j0u0dJW/Wll\r\nDOl5TRskYnacNmUWU206UZdk9gIkpcWGNj52n0R+JqXnY3jLPNZBZxx/CsRi\r\nemmq3krFyOwhoQJ6mSAy9ZDKq+BPFo1vu6aRRAxn/Fhy9GQiB3/c+J0jJvMD\r\njtYfq+VUHe4EOGum8BfzUffA1OJAoc/A+lKSVLva4qOW92aroilxYOL0ymRr\r\nGtPFYPd+3jxEsJYCprz/6PBXatmbZ9QjWegXQSPMhHVF5knw84+3vqNEJViQ\r\nkVSO5YNuWrVfH/+CxUAfCfrxROIqnpWku3n/HLc41NdRUxlYML8uW7jUG8Rf\r\n1sTN0OnsDuV5/PANrtLsnhjiwKn2vFbB67WJZQrJMcFV/88kJrsoOjn/1Btf\r\n2MzQi38K3FdkjP9x2TzXwqODHrkTGvLSv7Fo8Sx6/3BW46vEIBaQo6SisgJ3\r\nI7LNr7OpBYSgPG86zHsslXeTaVVi72nG9Yoh/kKIQYyWgx0fl/JHQW5zEfAY\r\na2i4rkpFoynk1orqx7KJEFvicgVlfN2m3GAJZM3GfpZt0Ly6YcAsglMy+SZ1\r\nGocVaQahnM5lFXDxnRYQBNhNfm5FMUaskMsp4tGkHWln/VOKrayKRB5ZrQqP\r\n/kAd4CPs4Z1WItNrqzwNL0SCAVGh+hcxAWM=\r\n=uwVZ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.2.0_1650949346423_0.13516010185442884","host":"s3://npm-registry-packages"}},"4.2.1":{"name":"@vouchfor/uikit","version":"4.2.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.2.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e1f30df3419fc1b8183f43d5b4b5521abe775b61","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.2.1.tgz","fileCount":186,"integrity":"sha512-T8TXFMZ1rCw/fFqnjbq6GW6H8JdWUx+dOEvzhBLM81wT0Hmmp06uy+y/kcd1HvKr5ZkvLX3WaxOQWO2b+55SRg==","signatures":[{"sig":"MEUCIQDrGYul3SPC9D+iJk7S0Isat+F9jA8oca5mc1maDVpZDAIgdEszpGZQ9rVXr6NQSJBikGjGibQaw0UDPwe2TOCinuA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22751160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaekMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptgQ/6AgwiyljsI0Z/Pz1Hu6QyPfs7nCUw8LwgOD3Kdbl9z5zx7u7v\r\nNibtbPrDSaYtOlPVkAZyRAYMfoZBCtR1ar7uKdHXy5ARp3D1vHbYJ3g+MpHt\r\nJN9iFNoOMVX99N1MwabLjQ9Uog0HYZVSbaJeZhsNOa3Aa8dcl5RPhe1cdZQH\r\nXV7m2C92XRcif7wA+7TGamATytenziXQM7KF9GIbzxaQMr2VegaW4J4ovvDn\r\ncMW5TJXe+M9mm6gxFtZZ6mg7TdlonO8u2nKx25TsPw9Xso60gToK4xt99syk\r\nM3neHBDZOUpz56ixm7rs7So8pADM8tyuZJ/1ZqaMx1Iad8AvSmvu4GmAg5zB\r\n9WUhukcKJm+t6qnifmbD3ezKYUKz9tYidsP1EDiaTv3vWUBlmTh90/GAUtJT\r\nV/OcJNdedccMuAVMxclQw1UXBH6dwvcPcBbHe4XiQr5US3gI2PujqIz/Boqq\r\nWf7hCfLR5aDtRy6a4r38VD3eB7NajSKDDsVhrRRhuWmoZW1se5nFz+tBd5Zi\r\nZNEtWZ+cl1hU1RmHBXqhDbYLOsPz90Ke0o7v+XPwp9kOdNuP90AhKUIBD9nQ\r\nlh5Hpho64TvNjJHfnNZAI4t+xrCJS++jQRx+ooDfMVVyOyUm7RXzJPWaSkQH\r\nAesm+wO9gmrtDmgL31/Vz6nKNnOqXka1Jxk=\r\n=JOuO\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.2.1_1651108108462_0.09798992285183838","host":"s3://npm-registry-packages"}},"4.2.2":{"name":"@vouchfor/uikit","version":"4.2.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.2.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2d9a00a43f3eee7ba6d88322413957b19eeb2424","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.2.2.tgz","fileCount":186,"integrity":"sha512-SJY0rFFe1HCJKvPb0bkXtjBPvWrHk0+Sqvk6EW3+T71jTS/CGwjna8GLRSGjO5mOxAX5/MYuu0oSWdSuRQJPew==","signatures":[{"sig":"MEUCIGu+XEBqKUc4BHQMtO73zE1g6obLxpriVqSEzmMMAOq0AiEA+jz84W9HuugPsY3LtZ9T9OTUlTLsCUlo/AorHiETdWU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22750302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiae2XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQSw//XP8P9tu98SWEYpwSz/0bWITtZM7LslRRewpOq8CWCJLy23S4\r\n1IxThUObLTOjuT9uO1bCFflgvS5wc3G0OER7gxfXzcVozyqSG7BjG/2p+Bks\r\nlKStjvhWtDwaZeP/Lo6JgCkODfqrCMX8PAbP++Nm3JlBW0UZQ2k4hySj9t7n\r\ncKXGSdB1Q9paHjc67iRXQeE7QQ+Rxdngx9rhvZiY2IxXjVUR6aM3VoIaw+dy\r\na+u6lGK1v4uWfy9vAwFXzibmRFrg5MW2qlRhDuMf+iryLa/rk9VDtaKIVT8A\r\nVbnTsKcq+UhMZmLCiUV60FLO2x91Bu2a+AmAgjyPjhVxnSTRQK9ippTi/BBn\r\nu2Jzt0rn/YF2qK+1y3ItBtpZ4FvA09ynIEX+uLOdbVyYh/K6k36uOUF0zWgV\r\nuAuR3ogn0SLBy5A6WbEjTiUUdw3+ToHFHw4DZAp1sE/0c2ItEukI6YB/zHHC\r\nDTTlX6J4tfN61tk64zvE7fb/DDFI/PM3gvaAZW35EL6WbO7UKu9vGWOpNa7Z\r\nyZs9QOXHXncb5X/7s7Ebnvks0/qb4F28k15KsffHbbrrpRkT+uOTBdPe7GeO\r\nQ4QdOKlTSC6vxVr+E4lU4RT9SQi3qK0Bp1Sgq+ARW8TmjJvTYdpvjMfY3Ylb\r\nASzsuS45LDZlr81ebumG+mBkDAfX8bK1Lkw=\r\n=UaZd\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.2.2_1651109271516_0.032937039806081314","host":"s3://npm-registry-packages"}},"4.3.0":{"name":"@vouchfor/uikit","version":"4.3.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.3.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ecd15b72a13e3e0581608b10af051fc5ae232147","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.3.0.tgz","fileCount":186,"integrity":"sha512-s5ORDueemgE9YNqS60eLBNqHzLRIpRLfLvaTrrAZXsZ6vKvl3Ijg3QEBE4QAixUADiv2V3uu8eeITUMBD6fgvw==","signatures":[{"sig":"MEQCIDMf1RQ8nwxF/O7uWcz2Vli4frQpFkksDxIfSwnkgmA+AiBKDzCAyrHne0sUqmx11T/rSf9CEvxfJb9IcwDlZyPoVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22788539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJia26XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOiA//cVtQf7cHgcnvDkQZw1wHeRBmnPWUGWy/5rFRhouQCzK+/ulh\r\n7agPBE4L7PPbBsgvCL+Zapfb5lU5wkfAfoPtmWu4hAvYzkwlOgl93o48+BIb\r\nihNfOnRFCn2ybMYEIw/GB9u2XrlmhND4G/WFz8RdLKZQQjjPOgdYhhT/hf0S\r\nFoF678jARP+uKn0iVhjXbYj5x2gmM+XSG9jTDronWhc/qqkX0Kf9vV2yg5nW\r\nO4O245CpQP6Zyd3aAk58EE3TDTutr3GV53lJSEsGIH+m/dZbOPMmbWUX444V\r\nSL7NpKJP3pzA2FY8rleaab6wKPL3YLVDHHcIyNyHX7hugCyXqNYpxgjHYWiV\r\nudb7/jTh1DQzf4d1/WWTB25+boVtOpuaxYavRUc0NA4dEW5RvaaXko6lESfU\r\nE4BVh1eAtyepWzf0vIloOGS3sZrDUjQ9RGbOklkRfIuv0ZPZFUnR+MfT358F\r\n+FhlgaiHA/jl0icMHD9fB6EnwQ0I8YpyC2MATy/HTNqEoudVEBeSssPDc74e\r\nmF5i/vO2w5QDgekXmt2k6kKMP/lCohDB3RygmFNn10VD1iKnZt0vsuJ80XOC\r\nzQ4ReGkHbLFkCp08SBrR5kIZhsVWo2MrV6etX/w6zk1NGRA4F3eYT1GQL6sY\r\n6zvhaSYU9j1AzZvHQvuy7UV7PzUkXCYmIL4=\r\n=F+BM\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.3.0_1651207831126_0.27172885899349786","host":"s3://npm-registry-packages"}},"4.3.1":{"name":"@vouchfor/uikit","version":"4.3.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.3.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a37ddf452e17a682906adac9eaec76af2554ee22","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.3.1.tgz","fileCount":186,"integrity":"sha512-tuJHGYvucXvQgRY6f7/sJGeRcbgdyre0RZBg7hmHw1NHVVRvUyJUdvrc4dAPxQ9VbHhIBNo3JVKzRQcP+M4K6w==","signatures":[{"sig":"MEYCIQCL6b8VRR1BV2HUAdyMZTbxAToLBbbHm9eJhSAD23eSmQIhAI39ej2ENKcaIRyW8oaKoU9JlcJY+yNvz0t7m3zU+WH3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22843939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJib39IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrelQ//bw4kD6fh9KJ9Tczzj4NIpfrenOE8uRh/m5VxKJ2MQh97EjVq\r\nEQ2b3cxzsK7f5x2KREya6phLXYrpWakdCXpmoAX1NODf8sQFfwxhxc2XujiN\r\nlkxCSN1IMLbPCw41X2Z+UmIFdPQF+mXWfkLjledRlhsuu0EAmxsynl9Z2wLT\r\nXOsCxD+hRkPszGw2WN93YQ2CsyjmdA5Hnb+VKZmoiqHn2UfcuWXiPyH8cIND\r\nQ4I49pjzVJ6SptVFbtx5n+hoqJpz55FTTz5KOVPU1WC42ZuzAJjDXn+Wa9ws\r\n4IWht3ZEiAYnHLEZzb0w2L6HblVUEZd7CmNE2zDbLAkxQyOJs4Ao17aoYVQm\r\nhCsxLWPfcnzl5lRl86Pu2Q0cvbHc4Bn92vdIXyvJLzdG9CtSbx0s0jzcOtQR\r\neBCeJNBizmPF1oUkIk55BoOw2PLC4P9bYwyEjlKg1Q3WBaHDo8eDr8MxpyBX\r\n5ENJvJbiQgOloXWerAG+0uo/Ah/yShm2I6+gdz9sw57QgRUR4ZIFfRPEatje\r\nt4DQja7LzZRB1G3ab/N63JUtHIvEO3suk8mMZIBGjd45dLa2OoKiStxH5w1g\r\nM9TygY+PyjVgh6XVTWKQhrY/2IwUfqrQkFQVZo+AWnzMtjsNuSb4YKXsU8yL\r\nF+8hKl3k3k9stC5dcAb0sk3ar4ATi7QEciY=\r\n=OgxW\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.3.1_1651474248348_0.9884778039221562","host":"s3://npm-registry-packages"}},"4.3.2":{"name":"@vouchfor/uikit","version":"4.3.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.3.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e751dd2e94195b37f31b867e5f04f77f9941564d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.3.2.tgz","fileCount":186,"integrity":"sha512-Sz3TxWsAanG0P7i8vFjCDypjjktgkTqqCvxBtTrwj/UZ9Ij7H6LGXTCV9yCDGGX2QVsnJ9yvxS7YVo5GwXauMQ==","signatures":[{"sig":"MEQCIHx6bzFQLKlujn6YJ+UDnFTNwDYJGMwmZI9xBK5vydFCAiAvS2Kwv8YZwaqXvsqsLMjusYtZk3nIz8/EhwBx74MRRg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22756078,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicNO2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmobgA//ScruRR0sE2WktMdxe+30xf4Du22jsYzor87sTZmKkFPR//GX\r\nFynk+EpOqCCG/8dQp2NhEEhRG5+IeM2R/Ezx70mqJBWB6MkI/lJJqWfQPc+n\r\nn/OsKbXzE1zm7LU2XxVRPZbyvAkbnUCol/d5f2olPy4ngYjl3CmNiKzB8xxJ\r\nJduR1s5GFxWiAVZy/q5klJmRntLvobin+tv9rEpNCSxkzVRxGDhNYlyhV42C\r\ndde2QF9PprKapoKw8v5cDAkLWPCtv1dwmv7T7YXopnea4mqwVnQ9KRt9X67z\r\nPiw/DtfE0pyMMufQwxn8pHB2C4NCYRSQqRBUmMdaCzNwF7HO5PtQUkXRUlGI\r\n7RaPkAZRrASYRXUhkURv5s2+82+eTIqjyxh1nMQ7S5v1lLzyNyMFudzFqSrC\r\nVdk2ZNnNtjVsT4YXbG6ftpy5UCMp4KdwJONZ27L7YYDF6Xl905TWR7/96Xpy\r\nyWe4UwrqJ/gUcR83VMIoy+9oj5tLuHhHm2M9gNj0IYKa3K0bBNmB8ZElvU6g\r\nS56GdedBQx5ss2OQ5ZSPT+Vf7regYyomQq6IirTz+OkfDR6HbThy3P9aRjPY\r\n2CWyUw3y4GjYugqJuFsXv71I2F20hRLuBux1IzGRZtJQihQQaPpSUT9RveaS\r\nXtSluuFrttv9T+Xw9e9pWAc0lNPpM7hYEt4=\r\n=dGlI\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.3.2_1651561398105_0.8225225462182324","host":"s3://npm-registry-packages"}},"4.4.3":{"name":"@vouchfor/uikit","version":"4.4.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.4.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"66b32e975c779b2d03befc30fda7781a3b9d45e9","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.4.3.tgz","fileCount":195,"integrity":"sha512-QqkhzAu5AO0N0pbzS1ovMd8shkZQoXwe8G5W6MkKaWFSMubFuBIKk6WyO8KSXHG3io3W4QZbcAAoFbre3q+KMQ==","signatures":[{"sig":"MEQCIBbVnvq1/GKlTHnFxij8AF9o/p7Bie/U6mG0fqIGUEU1AiBNBr+OcwWu1LrOEnX4/SSvK9o4MmZmy8Dqokc1RTnLxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25578478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiecBeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKmQ//eCHyH6hEHLC0oKzU+lyFXYuNpfRQy4QwenVasoIZDHYnzWSm\r\nepNj89/zudfENFCLFNzcwcI3ACUIspJOGxsswZ4kueiQJYhC5aMlu7uKNwHO\r\nI1ewteerfJkvkzQ1xU9jSX/wOiO3wJ9ZYgeLlbaIhZ5RxKUwcvOx0LKoRYZN\r\nH0VRbYFyyrOz8yxaarIw78Lc2Ta6cdFPWRPA/6gF8T21Go0b/H417ZL3MqDt\r\nRcyJpHu/BRiwHIH7+rNnWC9Qp9EE/Z2KZLbsqnwz9OOLKCLXzBYj9tFlpyKX\r\nC2zB8XCi8lcIUwlP4uFmJOA6D+XeqvHTU7Hlf3Mv5HY275cEubRODyvDskBf\r\nQPbWdtCuMKapmUzZ1z9eZQOXmv9kKsic52KOIgfU/0BGO6quV3zFcq3BvlY6\r\nudDSNbgWk9uqwJY9tYBoHzr2PLXssrUbV4J6Ksj6PCg57qhNg7Gt0GiDOYzi\r\n/5coUmaWR5Sgq9nLYW4BC77bo2971b+3G86KM32uRdwEbM+a4TPho4Z1D/TN\r\nZMgAKAmLFvQoy6NUAOdHEaoHYuio3kUKUaBgKCVVbOH5Rjn/OvnK6uKHc6/k\r\nx2PtHB5eEks6Gggz1D1U2uhzKCmy/YhcC8gW7KKTbA3nXZmLlgh37rP8tgBO\r\nRlCMT9kxfSQ7rb8s6lTgWI1kDUE/8/LcE6w=\r\n=7hG2\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.15","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.18.3","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.4.3_1652146270576_0.5777228269812418","host":"s3://npm-registry-packages"}},"4.4.4":{"name":"@vouchfor/uikit","version":"4.4.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.4.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"62dc04c94900346bce404c32d4ff13518a5fc382","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.4.4.tgz","fileCount":195,"integrity":"sha512-ZDw2NsBbNakZS1cKHD8ZHCSpZHj1Fm2n8V4NOITOdulnxCevgYUuHfzfrkpHo6zvbd98PRKLvJVbCmcDSoi0Sw==","signatures":[{"sig":"MEYCIQC3saBmVjQYFnQ58wV1ZfP94/lgydjoCuZwt/cy1FY8xAIhAJm8PGA0Gq12HHDYkbSrqL2iMcn2AJ3PFLQbGxP321ns","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25643262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiegDfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9NxAAhggIni54YSlNuI185IMIP+dgCOjR4oSi5QZi52NmQa4Ggu4l\r\npsC/G81jKXG+ZS1krNhlLLO+Aj9gQeo9MbVBYFInvXIgeSWmxIxzOGRi76E3\r\n/+BfExhfAoFHeXa3/WJhYovZ7WCFyv73DDnfu8Gjt79axbbzcM3D/inqPF01\r\nOoPR8kG2Qd4u2w+aeXILqMSNdwxX7zs0rxyf9tdIyvxAxr8kSvRK4/9heI93\r\nJxdQaEdhrMFHhpMOxQQvmnZD5DD5R0fzqgjiQGZAoWWGBelSsCsHKNkzD4s/\r\nKf3+h+ZqVu5Z74sba39v1pd4U/vESit+GFEVNeTdSx9QIwvx8J0ShBP54Ruu\r\nmxgkcm4CbZVBWO2tP5R9sF8A22G33nkKkORfeIkhKodudZBpSCAWXD6QFdgb\r\ni3IE2kP63S1TiqCu4knTT8y5FGH0F4AnjZwk3PP629Bd+GE0+84HHE+TxUX8\r\nM+iyBasF/lTZyklE6OBlnyKzFxaKvLGuBRGvfAJkFyhdVJly7m2H+Mg9taCo\r\nHVsz+vPxfIcVNQ/hvMuQXkrADB0kxnk1mmz7HDoGnfwd2lgrVZK+SwDQsXdM\r\ngOUwIG+gS3yWyCGJB+5ZLJD7gyg1Fuxt8smnNVdWgYXQRbuh5iRp+hdbIg6e\r\nbWHY+tc0uFIWmNfGGzW2+TpntMkrwMXSWdQ=\r\n=CNlK\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.4.4_1652162782759_0.8524730418264455","host":"s3://npm-registry-packages"}},"4.4.5":{"name":"@vouchfor/uikit","version":"4.4.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.4.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"58d1041ab6af5b4ac9fd1cf79da10596434ff596","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.4.5.tgz","fileCount":195,"integrity":"sha512-+UmgZC7W8909Vg09F5bNk8RooQSTh2bibV82FP2zm3jVrDMfUTgY1qzwS0EUdey3HWqCh3dy2y+/XZhS52aIaw==","signatures":[{"sig":"MEQCIGye5rYo5R1j29hKXU502Bp6hF/jj5zxVpT5YtbATMnEAiB/YlMiuIEu7MQWa22q5+J5fI1vBUAXxnCAnQ+BD0zgtg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25642308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiegFKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBmg/+MW6kvcnnixKf3QqU09lUH5VsKDq4GTicdorbH/5SlyVRnV/9\r\nWIam6skOsEWJ4rpgshDj6ngB/JZxmtXUtiEJCf4T3MbCBojdzrEJ3pftaYYh\r\nAt6a+L5P7MZ7YwOoxayqW4iXlhJFa4oxK6rj8mdGeA1SovZ6Rwk5NPi7tjVj\r\ntUz/XoJFLHaQlQw+yCa3o8P+3tx6iDBxfS4sZPbszGkqpWicMk5weJfvPGcY\r\nMxxfre/T+/3y3r+lpQSG6TH2OaVDxghypQektWjEv4x1Y4/ZeGm/3lSgRoS0\r\nnK8IbSUd1WsA1VFKVJ0FFZtzvJ57wPrUvMIQq3SbyhmqrX+bgWZGCBmAauQq\r\nFMnNb8o9w0CfWlZUGPNuPIMvv8q0s8ycTKuyoxq+2I/EWChwcnxS4N5DPVWU\r\nAPntkYhOJ1LP3UbFcxDj5btNUgNH9TvENMdUeV8CmfobTtF9LzR5X7Gsw+1H\r\ngGdFhvb/Lm/mzt+LzXPR3YLn2OhUvIGTNVQivTgYBYG1Ytfz3nGnCvPlKUVh\r\ncUErixr2k8QK73pzC1avKA8AISzpE+zOgfbgjMo2yzzjnEw5582uain50cx3\r\nrAnYLxemxNUlLRXsNARvrioLfqLGRZ6KpJ/lQYUqfNqC2JlOFvmN38TOnSKv\r\nsLNVUNh4TbIqAfWecDcqb7li0pQ5hRI1HN8=\r\n=myvo\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.4.5_1652162890536_0.14377819002395964","host":"s3://npm-registry-packages"}},"4.5.0":{"name":"@vouchfor/uikit","version":"4.5.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.5.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"791c34cb878f20a1afa85e3933709e5d02e2fa6e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.5.0.tgz","fileCount":195,"integrity":"sha512-2YkanalndVb9HusMS84k3az1FA4F/YE8CwfnYc7Hd1qh3GED9Js8pszKfB8KnfQTBfmAhMHMdoZIa6ChrI8Odw==","signatures":[{"sig":"MEYCIQCWhPYNJJzuxOVOD6Q5+VsUcboJrvnobAP2lXoaErNSGQIhAM6/XAPViqkg+urtw13jzsV+p8N0/208Kzla6ElSwQ68","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25587274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiewqDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQEg//YzaF2fZ2L1KYDbjUY31bqdlcN1A5AsabtDRIF14lXyXAz/73\r\nEdSS7C8ZkkB3V96B0VkTsMMmHehg6jLS3B3FR+tI5KKQq/XqCJRMwsrC7FFm\r\niOXWVY79sd1OymvA8vqTJjzONKLHiXber4Hbwt0blTI1B+ig1hUlHzzx6NXZ\r\nJW4f5YXelXK0CiKc0LoR9V3Ydu+AjPvLDjPIqVlj5ZTf7gHcYz+r8V3FXsez\r\nXkFJh58oZ3VEW7jeBtYDTcahtMRaGLIUs+Bgcq4pa6LWuloXhYAD++iLdNcY\r\nSa5AjHBxzdT1t21R4AsJV+tyUkOtuGZaRfZwFVIPy0X9BOSB+Do2dS/CRafN\r\nNB4iPT4CORk1E6c4gg079z7sKsTqI8+rLfKXVIk0wGx7WenWhQSEHabATHWU\r\nzmhSAvULrsQVoo/V9DwCLpTfq23l96sVCNlxMMpYkcBIv8NGALAcOW2C77s9\r\nBa2bwU51S94l7gAw1YfK4G9WkmXoOOlgxCtVwhU7ytYlU4VWQwgrQMjuHf3i\r\nM9sx5F7Odo8W59SjLlTj+hO3HWmyQBgbOc6atdS8EN+zJeXKqPapl5nJoCfK\r\n9Dfhyo+o/c2lJEW/ugSOD1OMBTV0EbINiYWdzW7HGaeKunLMuS8yMwPfEiPx\r\npPRv+SjWsUjkBPZFEIMrVd6+jDES/j1KNbA=\r\n=x2rJ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.15","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.18.3","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.5.0_1652230787004_0.5476187529967078","host":"s3://npm-registry-packages"}},"4.5.1":{"name":"@vouchfor/uikit","version":"4.5.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.5.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e8a4843c161c1a5d0a0fb8ab277888860d4afe8e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.5.1.tgz","fileCount":195,"integrity":"sha512-K+HIa17BK3f7VE08Lg4sCgluVNyVIGzEK7/HilcOwwGg27aKFvzfd8m+4z+TkyMy50crOYH7+4q2JTACVsrPNQ==","signatures":[{"sig":"MEUCIE2hopeDBZ6HyeK9aAWR4Omd5ouSt6tLqVUK+4BN32TaAiEA2/1yGpST80wIapUx0J0cGU+Q0pO/mL0RHKWoYVT9RJE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25589322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifFM9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo81Q/7B9hmBPEfgSfKt9TJkmRdjp/v7WsceFm3hsFCbNx+mZxez07s\r\nhRknJmaxNyVoDl7rv81a8rz2xHkIGHhzJd6QwhIBhoUA6NABzv/pVuePzscN\r\nlLiTeQmz+FCZIXO1dS9eAPl3nlGFvyGqYEuWzLJjwGrky0AwgI8dGrcaux/+\r\nMSlbfQd6BakPmmq13wD9xMJHITtsnQGSfDILoxLC6lld1FQqxmvlN+jB2VQh\r\nvct4Z1wBPzWx8C/2PIgjNavXdmz7x3NjzpeM0LikV7295WpVcQQThwVA6Q3I\r\nRDbENsOOUTNdHNu2i/CMpV4fFEBGjP64FH0yk4JdOgGFrXGl1xOEaNhG/1kW\r\nZO/JVqzV+K7Tyc8hWlv/0IkRMrxWMu09h2cxTDRQCfrrwvD7RJ/yZckNMVe/\r\nczhV1Dvs+YKTNBhwgqIYXzRBQBlbvmRkXCnQ36Iwe4DrnyWofAyFEuUoeCGk\r\n1nzi6NxHGPO10ZtoHur9oAutyFcIWneNxH2lcNB21An57sIoea/ebEZQQ+Hh\r\nQRNB8nIZkagnVuHO/arEWNYnky280H7oy3LbtcwqKdP5ovqzlWKYTSUr8PhI\r\nysuOdYk/Z3rnHN1LDXyl6ohbXb7TIUM7unUrkKnu7e88jgndWl4JFLdWbxwu\r\n77KqNaUSFHvca/9Kvr9Vh9YCORhSLFTw6vI=\r\n=YI2W\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.15","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.18.3","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.5.1_1652314939785_0.5434287930826851","host":"s3://npm-registry-packages"}},"4.5.2":{"name":"@vouchfor/uikit","version":"4.5.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.5.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"980d92d57e36b1b13e8fa2ba4f292a160290ff29","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.5.2.tgz","fileCount":195,"integrity":"sha512-bgtaVRAAHpbzeuHAhx5DKrX6XrWDEvRB9PVfEjDMnmxmcla/Dd++SCOtb52ZmbKD6KURBDrZ9QZhMqW8ZaGvxA==","signatures":[{"sig":"MEUCIQDSzJrTLsshGcSd1Icb58HTXvqk02ASd63tmMOPC1ipDQIgN5ys02NIRlc0FadnJ7gvPBDlmK2DLXLJNVJLmyiHa6g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25589322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifIusACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsiQ//WNaTX5t4kFE5MNL3fCh4WqVPxBzLY1+pECEdcdEG9fGbMv12\r\nhJqt2ZNS5BPlAZwlkCc8py/rjjzP/PxSBEbzXB++dRNu94gkgcgO06Slh9Ov\r\nBtRqVvFNKuLTI7AccjKhhO/CLog1WJ6fD3Li94WVyNjIrlPPAj1Qp8ICKKTf\r\n0RbiwZbyit35HOODyJeqTKWR4V3YSj90RInZu1p3/QjurC3hNzLf7mEe/KoX\r\nMeGTnOwZAbIcsvJVaaGJIY/JzMO7Bg75Pjyhk1Fg8cTC3jvR3CdJFqdbRcIg\r\nQD6rPRWbruL/0hODJ8sFXWU12loEptFi7JgNz9yNugodZFS2Ifw8pM5NE5wd\r\nTI7ob0L4jlnjdFg4AusPpQXUGxZbCJhxmwL3BwsMB2VV3gj/jJ8+LhDZTGe1\r\nDN4JqA7sHq09HzAYTarl/Vjdkrz/A48kaVlFP9fqpKALh372vocBvFuAU+51\r\n+kswNXj7ivdaZlcpY4RuG4mUg9WuFxUkd8g9rgQdVN7QuSTRHaKtR+vWBgyC\r\nYZNugAC+Dsh9MxUBrkiAyTq1VyVcP0iBfvdnMPVlTwFFjWB5gfhvF2SwwiFz\r\nCIVuCHX0OpWO5je6F/xZPsEV32XyXc8PNWixYFOCnYLQPaiykr1Ha2E+pm47\r\nKswmYt/qnpiFT/CMRb/sWZKAZfY/4nbYu2c=\r\n=pcf1\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.15","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.18.3","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.5.2_1652329388623_0.43686178057467306","host":"s3://npm-registry-packages"}},"4.5.3":{"name":"@vouchfor/uikit","version":"4.5.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.5.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f4bd07942b097d8ee19709f0632d7fbb0fd5c890","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.5.3.tgz","fileCount":195,"integrity":"sha512-Kb/fiW2dY9+PO/YCl0Eq+MIaMDI7EtkFQ7rXZlHlzExha9uMA/+cu11+7Y6R5c11dnsGPwRja878dHV6evj4PQ==","signatures":[{"sig":"MEUCIQDj/K4XOARUpPEEMKCRcRgintUu2HncuvdvBKNrCrXqDAIgcQtvTjBE1/u7ViSAP9UDvJetUu+muhBeDZcF0VYhqBU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25653904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifIxfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpq8g//Ufp7pQ2k4KgAayPdmbMMK9ff3jIdRu1MCE5vw7wwEs5hJyaU\r\nPdwTG3VxCnr7oTfZjFyiooSdJwwhyCeOwSdOH+ijMeb9X9ikOePyLjxC6nGx\r\n5FRYOjh0tyz+hRlX0NGg+u4WGR0xf+uSYJEiriLMGbOWYTML7zcw2W8/Wzge\r\nAGSiXlgQhkCVDhGujUGZ5uT+31HqMRwaJqLcdI9KYX8WCCegaxaj6uXPCKv8\r\niqpC5YkNjOj27YQNXLMTG7tpJLRC0/d1x/ak0thMar8G/a6X3PtjFie6zBbz\r\ndVioaq+eo/PlE9OxzK81/bVxoSytU/SYAhF6Yg78ahHREDgG63sYrQwV2fFF\r\nR8Udea+b0glrVZ1V12790f5UG5sYguOW1EFRCHBPiI+0Ep32LcrNNwabcvQo\r\n7v6cXVXqw8XfrBvlpuD9I/jcDRysuPfv0nMeHECdrAyHcL/zT3bTI+W+mWBE\r\nwZchtA068vraIqrKNBkiOlceQJ1eMqbmoOdclOqvLrcJhRmerHzm+0lC2S5w\r\n/SxYDbXXUVGd5/mi4NiP+fWaDX8xdR8EqGbBbGO7wAxVuFkRMrKHuTkKHD6X\r\nascQ6vBSwjPVdhNFJsWglfs7Ouj7JEosvkXdE97vOK4R0+aNbnKm+mpbyIxy\r\n5rUYGoYfXmbuQD2VnfRhKK4cMCeD5WPlS2M=\r\n=98fr\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.15","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.18.3","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.5.3_1652329566807_0.08778434409857705","host":"s3://npm-registry-packages"}},"4.6.2":{"name":"@vouchfor/uikit","version":"4.6.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.6.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"54e3daf766c14de8a8d7ea63a5ff9b01665b1c7f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.6.2.tgz","fileCount":204,"integrity":"sha512-xFd4qccyZ7nTxgQ1QIV+XAhsULZmF2nX3ptYo2+386ZnpzlNlTu7lwzcSBN9XZD6wO3qDkBOwsEbYwZ4guMJ5A==","signatures":[{"sig":"MEUCIQD48qS0Rjo3L215XN9PkHSVaEHqY465v5P42rgxjncs9gIgJQ8ELHF9NIaYNQ3qsLXcOjK+bz4emgPxRCUsYhZHea8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25852929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihYA9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoeexAAkTtsnGKD0p9MFp1aWFXcJqNOW5ViMFEfvRGXACZL5Gb4DDSh\r\nUo63X5no72S9m2WRBurbvKwtU4DR0GAKqTDZE7SE8E8bcWB26mXJG1fcK3Zv\r\nn3zRwWuDc2mhYeUsk4jB5gf+kUdX0Wzkfo7FrSmKiwqEqAEIYgT6N8w4h0/v\r\n7RZuzcnxL6GTegQ12JDq7pOzypTgyP3n2j1qtpCyYYHBD+dEU7Rb0NXhq7Sj\r\ndl1p/t5slkhUJIsgPgRBaq7qfRDZCpSJqAMZz0htVHLQKh73mtXlxXKos385\r\nDR27RQSNCfUcZKyyygHQkB6Fy1nnpVW2XLfazoHo5KRG0MBgPVUpoHL1LYIU\r\niOX/5wFAqwnJMNFo9l/Yyoq/Z33UoHtHphI7Dp/MzC9ODRrSTvC0h0r8nLuE\r\nK0L44iznZhXFMavqJx9RlAJLoKNW9bCEG37TqC7fBrypZ2n6EoYQSp6VKncu\r\nsGni0CzxbEI+eIMVDMLyoP8AMHGfp7ZnLHp9iYIEAt9bMwrLJCdc4e6BFxn5\r\nYf6YNyYT2c05vMvSPYyIJ/tiU/aa84hLMGGR7UzNIPOg2OGmUXBjyE2XnWZc\r\nUXxfDIk4kYAtR0/V9LApwrbHWTgNai1XChWfG1W6R8WvivXn8MM+gcP6LSjr\r\nz8CP1SwkzO3gqWanIyc7zVCEcaQdonWugac=\r\n=Dl6T\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.15","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.18.3","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.6.2_1652916284933_0.02788279186016429","host":"s3://npm-registry-packages"}},"4.6.1":{"name":"@vouchfor/uikit","version":"4.6.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.6.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8aaa572c9deac7a10dd4f51ca806a2e032e58931","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.6.1.tgz","fileCount":204,"integrity":"sha512-uWVC0SV2cutjr//wJnaI0WlRtWWovoK/babYZ2Wwa9+Lh+qdJOPk8l5nqAxQTckmDVH5NLSlH32EQ8vCy3ZsCQ==","signatures":[{"sig":"MEUCIBd/J9Utqi9RhG86EdTNrbUmm06HR/7xtGX/MIkUlKpVAiEAmxGMxW0FRDeIKur4wepnAQRNvbFFbYaVM2PbnpBvkCA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25917504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihYD+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5xQ//W+vZgQg+D1x/xdIz1lUe447+PkDii++Py1oEbXTlQDAfQ8qr\r\nBwvBA+4XpmXkygqQsWgL0eVtDcQGPqceDxu5J/I849sgHGJBJDdgrPASXv7B\r\naPFqVnI8Aos3YiFgUR2m0a7QPg9I3XTwL6Qw1qyI01TMj3krYt1LVzetSNL1\r\nOXELce/UtbpE01lrZvlppaRJ5FT++I05HK/cj7Ihks5bS75QXe/gK5r0Gg5S\r\nyZ9wmudd6hLtENSoM5n4u8t8xM1q5KfPDOrcOxGqL4SIfJaj82aqAmj1MlN5\r\nPj2JbitzTIQpaa1wPAav9MIYd9DgrsIjGABsOsq2YBhl3roV0Vrv3TcljhJK\r\naMhL/iegCsi5G2/k1K9kHCehGmXnUprRpGg2TUNVAyt+3LYMkZNB7/hEt71O\r\nTL9j4NZugUWG0JXbYnGOpNMmY2IaIcuXy7vUTGMEev0L7wpoNO+99ET9bW1S\r\n12fjH7QZuLyRnIPOV8TC7//p5mU5vz2fwReL3SZ+SHcCa+o9aBeoWIeySGwF\r\ncMTtwEv9StEKs+BVN7zy0Xz094cJsviFB0k5h6PCOwl2vfdsaM7iM91kRAY5\r\nDtw+YW/BHBvI4ETFPZH2DxxOOOhQLRW6ikXO9GnoHMLHILsWXWoo8xyEBU6r\r\nS1DLVgKjAj2mVhhnX/jttesV4+0X9rUn/PQ=\r\n=lrq4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> @vouchfor/uikit\n\n## Demo\n\n- `iife` bundle\n  - `vouch-embed-inline-player`\n    - [html](https://codepen.io/ralphbliu/pen/abWrWGR)\n    - [Vue](https://codepen.io/ralphbliu/pen/GRmaOJq)\n    - [React](https://codepen.io/ralphbliu/pen/OJmYORm)\n  - `vouch-embed-popover`\n    - [html](https://codepen.io/ralphbliu/pen/jOmjrEL)\n    - [Vue](https://codepen.io/ralphbliu/pen/bGWPmdP)\n    - [React](https://codepen.io/ralphbliu/pen/mdmZzVQ)\n  - `vouch-embed-jumbo`\n    - [html](https://codepen.io/ralphbliu/pen/gOWVorR)\n    - [Vue](https://codepen.io/ralphbliu/pen/MWmNryZ)\n    - [React](https://codepen.io/ralphbliu/pen/BaRXJzm)\n\n## Get Started\n\n```zsh\nyarn i @vouchfor/uikit\n```\n\nor\n\n```zsh\nnpm i @vouchfor/uikit\n```\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.15","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.18.3","dependencies":{"cookie":"^0.4.1","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.6.1_1652916478020_0.7015221227647448","host":"s3://npm-registry-packages"}},"4.6.3":{"name":"@vouchfor/uikit","version":"4.6.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.6.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d5bf79f30b51f962eed98d11cd99ef736305b17a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.6.3.tgz","fileCount":213,"integrity":"sha512-KPizAYcVQ1eu8hfPD6qXeDtao/sy3njw2VfxkuKXbojQXzyg3TH4XxlsCtSaTiZk0cW82VFkFnUIiVd7PgvS2w==","signatures":[{"sig":"MEUCIQD+HO1u/gbOAFDFHC/0HlS8iJS32kNxkNDNJRdLYzzxPAIgPBwm6KigvyIK+bjYuFHf35tWLBeixOenLwuq1UbDPO0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33318118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihcowACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPUg//fSGDoXF3NTK9UFjOXgGHK+Kwxy0iCbeg8vcfwNCEbtACXrqa\r\n/td+ElH87SGYG4qaOmgnrD8XOkJJviKOzxaqpEfquny2exlCWuX7WNHvIPfd\r\nCJcOqNNDF6TqeJGl5yo/CrBHhfnJFpZpYdlCPCYUysL2eMD+vFnXLBuOVDJQ\r\nrsO2I6l3KWUALa+YaLF6S0+u0hYVP7tdYPfJOo/e9Vf7exKUiqB775D4H92o\r\njzalGdAOcwMHv/8BRoFVDZF4afwR9DDy7NLq4vqqFQ7/yQ9I7Fsc0+2Ya6hf\r\nAmoO3VYjc8Drqh5w2vI078Z5ddd7G1PWoQD1YE90oHDcyUKSNtgrpGp8A4MX\r\nqwgZq8yyNJoCEX52d7esCEi410wp/EfymU9GSOFQIGmU9s236R49p4v/iHbM\r\nmW5dCQnHXac4tC/4+2shwVVFiWptu8vO1/XjVCXyMVgmaVX3Ok2n7Gl2/cPD\r\nGnSXXDWP7cCD3cXWo7g10hXIwBZqCLQqzjVMQC0cYb0KWWgghPoUj5zUh+wN\r\nsL9F6Q5hW85EQWUhgBr+kpXPRBNLRE9QZHsXRMpBuCjffUInN5cef8riMjuQ\r\nEvEr+8Th0bvKl/6WvbQdxaCHxDz/USAaJDZ+DGr5TrQM95mFkNESP+mmfLyE\r\naIB+U3zOoW/9203/4z63nSAMmCM6VH9/yog=\r\n=nY4T\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.15","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.18.3","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.6.3_1652935216133_0.7351406420024724","host":"s3://npm-registry-packages"}},"4.6.4":{"name":"@vouchfor/uikit","version":"4.6.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.6.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"821c71d2f6c7e7789c0917fd878605db48b1c2aa","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.6.4.tgz","fileCount":213,"integrity":"sha512-7oOewnHV9Nmwd+48xllWYA+McY8PNgogQ4OOgYAduq7s2Ag3AOI2NJ+wKTRyCFXpCfUYbxhd/iQ3GCkU8NzKlA==","signatures":[{"sig":"MEUCIEtL6lJS15ejRqF0mUtTI6oqdKO0UuEJ/bF/7L6WPy3MAiEA51ko26ZS74fLRnN0q++c6ZDOVjSQy5UmMxdmNfprWTg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33332003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihdYrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHpA//dAO7SIFi20niwvMrZa9DXdwJ83V8tyK7S/21lkmMC7nZgdYH\r\nxV3T633odlR34z2vTmA6T8WTUhaIdaRXPK+qEzf5WY/O4PfrQ5jjvhuFrS7y\r\nH+9fy/FqK6w701v7WfBOo5yY8Ig6ApkHFxeOUmdNYv1rH24dJDKriZm0Z2CP\r\nFw9P2xaT+Y9bKpn0O8V8x3tpcH6ohhSBTeqfX07CDGGHrmbqfSp+Yqkb5zIb\r\nFv/acfS3oVcqQaMQHAQ8pZkzJqqrSsuiZfsLOaoo73MojJ4QQvZjZaOJtWOk\r\nPPaDf0kEAa2nCdKtZ+o6RECGZzhoqkcRbP1txiO3QmwfCkicp+AY+Q5WGCfo\r\nMzu4RUmzc1Ur9M+rmLU1nSZ3Y9FSFW/pMEClN4illaHPHWr0A0ljnAuNoFCC\r\nQ/Tdp/3yB0bZ59DQ+5F95cRND9vp7lLgDfJLvUyci2UzYYz+1nyknVNQvZ8z\r\nmxgwSPm3FVQSGgk8wDSfOuqZZYlIPjeu6SHqs9TFcWHFJXqSnbTxHrJAlClZ\r\nQ6hLnDghNUb18xZaVuICZu0MWuy+yOX87/wBCl9SFG7btn00N2SC4Cw45k1l\r\nXgHhn5JNwK6hTHKilIm+usqj1kRAmMI41XV9D50y7oNVkrA86Vg5kqRHeVWQ\r\n1cTIm8asT3Rw1mU+Vj0rNES5HNhIoPfeTAA=\r\n=dmiK\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.15","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.18.3","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.6.4_1652938283085_0.13189689959187567","host":"s3://npm-registry-packages"}},"4.6.5":{"name":"@vouchfor/uikit","version":"4.6.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.6.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"9250fe75025ba72f8a846b856905af7659ec7497","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.6.5.tgz","fileCount":213,"integrity":"sha512-0ye8bOPm9gLlYrzqQUJ6uuMJVarLMtRIF7QuzsQ/weN5PdW6tnBc83vFLCBjWg/a4GAEnA6gHQ8iuxwUwTaguw==","signatures":[{"sig":"MEQCIAcBx/0lBU3ZH/tr96wcuCTBoybGClolhl22VHzlNsliAiAwXM2+66Ta9qK5bQ6pbQAzt/TbpLGspgJRYxntWIZUxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33396564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiheb5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJPBAAmtakLsKyOXnR3OE/hNG2cP8MzrzCV63zYGSVgCX7EY4FIdPl\r\nfQOlE8TJvTYGRX4LzzIk1Kszvpait2llw51WMbOjxcbEOASycTzb8fmXe9g5\r\n68J0eotUej4MLHmemh8ai0BhWXMRm9Iy8sImSXGbhUSDhfi/biwmxFUYJ1ba\r\n+pui5Ohl1EMvoNTb3adxn1rDaa474+QJicMFWPPvKmW7A+MKkg5uXH2qrYAB\r\nNO48Xyr7+I7zGFkySMGqMdggz6vZjudybBA0TiiN0Tb+z3L7ysbsz+EvSdDd\r\ndb+xv7earfESBuriANxkn1Zdba7jbE/z3JFe7qEhlqAr9scISSO9lfxGUdzX\r\nBYyR9/7i5TUOm0gh0mr9Xa49HF2nrKW0C+kb6Ffksr4JqWPJqek4JR9AbJBI\r\n5uOZmANE80Y2OYDKXFFmFh+smauHr9MpXuZHuXUtgIA9IadBgIgbc99j5Cwr\r\ntWV+vCE1//Qs/83I7PMLN4/u+wDlOAutic6GIMGUWsMrHDLXs+2kDF2d7hht\r\nDFHERA8lD8ZJpibC7sz6Rzl8A/4u05e342VAF4LC2WHAvi5PmOSJ5PQDVrsA\r\n4YimrGKzgeANi32SNrgFfqVq1a8UmkYoDNcgSHsT8RKD3vY2Wg/GgjFy9cr8\r\nOIjAMv/otR0lYvCZ0Ic4tWh6scvWIa1LlS4=\r\n=9Vs4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.6.5_1652942585565_0.7676086875641548","host":"s3://npm-registry-packages"}},"4.6.6":{"name":"@vouchfor/uikit","version":"4.6.6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@4.6.6","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"266ac2251fcfdb0561c87dd95f913c503199baec","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-4.6.6.tgz","fileCount":213,"integrity":"sha512-F/Rgwulnnxik0j4HjeaQfAuOukdyNTRDBRfPNKTxv15haGgVubZENGghL1dC9qd8HmdWehFdaKOcPmrM6nKaYg==","signatures":[{"sig":"MEQCIApAJ7nIPrOLb3vLjYiCFlHPoThVCkk0AJ4Sh2Zn4+2zAiAT2IKa5I6hZbGm0262YoKyi7wYvzid1PY2nux+KRrwdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33395571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihedWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmriWhAAm4bx5s9gSwIglF4FS+svkWsJfIjo5v/Rz2StiVPy7ujOCDge\r\n/YgBp2Tsvqgqws2GU06d63d8I7cIzd3W5uuZBlHltvKAtmbQ5FCWa+2sbTRC\r\ngHefHRq1y3ruFfS6cx4dr0EbBnO9G/mR7K2K7ZEgoNB+A5f5TCjFTr1iaviX\r\n8y3l11k3Nlt3ScmksGL7O6G5kOMleUq+JS89TrME9UMLSH9OS7WrIGfeim+R\r\nwMErAKmtJ307gYmd3plspmKyBzisGKFGNDCHDKd+WNU7yRc1ciMNjqnOuczS\r\nmab00TJ3RgeV13PUbOdoFTS69AMzPoBn4Zr6k/Fq8owxTSewAuUnKGsOT/un\r\n7XOXkB8Swm3sra0oMA0rOT3GeMxC/hoBIpTJ4B2wR2NPKavdqlRwQRUf2kod\r\nBwj061xtzXZNbW1MBv8EyZm2xyXiH4KWbCAFyvV2OvT5ASj0A+7H+0BXDoro\r\nL3gexR2NLYSbqzBqCt/jPJmTRgVhugyfgFUReSh38CNXLo5YDqmtxxai1ESH\r\n8wLNl2VyXTd2w/xzs7Tx4HGVfC5B8vkn5WqVRcho4IrH0HUzhmAe6hGNy0+8\r\nRRvAdGpgyotWgzbJdqFw2evCrhmnPptS2HXjYvaxLamv1WemMO1LaciCU8/S\r\nrj+4ZY2XbjfNtKwsr6jC3UhwHcp6KCknlQU=\r\n=xuPx\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./components/vouch-media-player":{"import":"./components/vouch-media-player.js","default":"./components/vouch-media-player.js","require":"./components/vouch-media-player.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/VouchMediaPlayer.svelte":"./components/VouchMediaPlayer.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_4.6.6_1652942677876_0.011197263624558085","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@vouchfor/uikit","version":"5.0.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ed252528e8b53ea4bfb1b85da83c8ad9b5ca645c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.0.tgz","fileCount":202,"integrity":"sha512-g6Rau0mqJZ2SAaWsfqpVNKQ+XVWIYZCvSwWftqMvckv2dCaoj/40/GmjQ7SkZbgngCom7kwCwAyEvMlLyb8gTg==","signatures":[{"sig":"MEUCIQCVmXZK1YuRY1dYFRQgGIg4cBBkPfDrDzEyxVvUPi3weAIgR5zFisDttrCXR9lNAn5+j8bf4g8q5GcdYnqKqzxeihg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65804013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihtDkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZXhAAh0o+1HPAST9ZyyIC8jZA0SZXu1RagtqnZtY0fV1P19bGRU5P\r\nTVpoJhtpMvOgOkhzQCJRRi20vakfurloCr4xqMTOVMMNNkZ/jdTJIOV8fY/n\r\nd6hVgp8nSI1X9hWh8gWQkfWp3m8jVIg5pjvqAQPPgyfVxVtaBKcuDT10caoP\r\nOc97IiO9lC1Kq9bEg+jFwQqC0qV7QGXLcPd8uM4e7mj61nqMScd7PeRo8wAu\r\nwiV8nhUGWc1zit/2mKA5AAgb3yaIgyMUeLXy4ZExtw+S57H2xQuYvFeaqjry\r\nI9BnfiiDTNa5s3UOlOZIa1F36zr1ZiCOEd33OVyjV6znP9mmQJ2HGclO2ZX6\r\nGe1Z4SJFqwAjHYUYKU+A2qS0dYQC4757eCaunAA7aAtkBKPHu29+538BUFNl\r\nGKnLfY2Eci5NW5JcFCp/PB67TPWgdKAFboZ9zkPc5HTG/hCB1Ahf6cU4xY3F\r\nNM2pUU7ONr+n7E0iSy3QE15nv5LfIDBckq/nm9n2ncFK9CgLjTUO9PFSEztP\r\nQPPLdVu+GoXQ+lN/4YxizIZN/e8nyPsPk1Vf103OmeoppJaMVFDJo26d+aZv\r\nb4CIUYhyznq65noKc+4IhspECJ1U6Wj8ayh0AOoRcoeS8isu+/HSDocNcetv\r\nokYhS8leI7g/v9W7kZ4WNTfw4XowEALE3oE=\r\n=F2+1\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.0_1653002467959_0.20799684304948873","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"@vouchfor/uikit","version":"5.0.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"963569ffd869b8f41b040c53be8a781c618d47b8","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.1.tgz","fileCount":202,"integrity":"sha512-uGB/fmGAG2bnUm/T5CIdhXIlLfueMWjkHbyEWpc35YAJlhz0vTHLBKa/jC9p01l35dyqWXdftQMXtbUpQmo5PQ==","signatures":[{"sig":"MEUCIQDtYmxJHsMVrf9fXTxVKOo3lfHRLk6bznJgY+xOia2neAIgf9jfcy3V/rb4KLGOFZdZLXk6ofnx8sLjoVmA15y5lvo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65817156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihvW+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYdw/7BWc1321O6dXS0IiMROVxS5ittKFWR7ysCTQE8p3+paQhoXJc\r\nnAA0PL9qus2LEHHGxcUTmNtgVknCs5IOl5+atV4P6aVUgUpSAAdqBMvl8vvU\r\nbYMcO9Ya8BDRpmqQ7jNWpLyW+kiFnmCduTWsoy/OHvTa8h7o4+wA/IJG1saq\r\nrbzsQfHyn6WYhayZUsuR2FgMcoGxrDWp5WSaikJ3hAXOxIhblCeV1v573Ppw\r\nPgOJ7MpVdGmPsMZFOlnvS/rLr3GNMitk+VBcbfdVw4CJUItN2A29ozAd8YrW\r\n2YQ5hxQb39iNCgoSH9aHzT2lx2I38Ips8SkBdLXbyrgh28Lw/bM49g9fdWJP\r\ns2tLPfHCkid06sTYvJ96guiMUZKGlGp7+Dtve67hyqxlxuGXOrjJkQPpp0sn\r\nE2DiOACUyytjueVF/mfqwp0yQGbeQyLp6dn3w7X3OmCLwl+U655wMgNwGnMo\r\n7Z4tta93kLbai9+8KvSN4/2r6XizJTY1lDim87fGf8Xcrsx5ipEhanftWaUA\r\ntG13/8eTvXuj8qcle3hrlIphuiJNfVniNeADUdNIc0Xpvxg+Kg13DFjgKD24\r\nkQ/LacCIhsYM9Oay/6e2srwHQG3rnB+vTX8sHNkHXrlhDJvM4R6YyEtoP/VM\r\nsekYBS7CPw/NisSRFgT9SCVwBW281rIEFOg=\r\n=AxMp\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.1_1653011901972_0.19900441624922993","host":"s3://npm-registry-packages"}},"5.0.2":{"name":"@vouchfor/uikit","version":"5.0.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"277f5fc63b5998f6dbe23d6f19316eaec8061127","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.2.tgz","fileCount":202,"integrity":"sha512-C7Yrye5blis3GUCHF43POt/GEq9ZmNNxmEKtWYRGMHhIjgecPrT4PPO8ymxIYHf772AGrcQjXJqz/W5GdkiglQ==","signatures":[{"sig":"MEQCID3AiKhgjBOb7kDQw5g/hfSvjmEfad8lKR+y3e5YiWozAiBUNIZYRB8gi9lFwvmkqYcASMaPfKO3DZ/Wrd93vx8MLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65882168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihv1aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0Dg/8CSPo04+RWgqIEoXeKwQrZOdk4INtv9DPoGOCkqUajxD5Qb6W\r\nEwTBAwFXtI6w5oq3eKrOd910/f8xN/9eyBDaVXwkWrTd55W7GNoHfUS8gGnv\r\nEvUsA0uQtsAMLfX1UeZzW9dGfxx7b5qvitVW4p+9J6HmvXAfe3xXOVb0U5dd\r\ngA9jU4R8UxCsSDMyCSoFIFmNUzvo+mzxEOuKcjKN2HOovV+hP17tajx+nMdy\r\nGhznvcEf8jgKL8kLS8ARyUlZrWEOdMyHjmIWzaKicApRzDpGn3qxMQGUFjnJ\r\ntw7llCfWSW2SoWROWUrZ77pXPP2lkzQfUqe+ekt199NRmgwC8baNVEgMx00P\r\n+EL9+wGYOH/5XCbe12cgN8Qpn+FgJs6gPypQUEUudsMoii1DnIkjOqhCk337\r\nnYZpaHGWnPy/cM5hHjz3DITYb6Uw6Ie4QqZoNyWg16tsR48zhowzwGC5ZMNG\r\nqHiFfFZAhMJDTEIGEfEJkjL4INvpdvWV6GHdBXbLwIyYxN5gQfG21ctGpglp\r\n43RHGTyUijzc0whbGvjb5YH1ENhqF9hvtWzaiuimaZBFlokr+12BG0WriEYh\r\nH3qKDay5XXtrrWTy2HTlwST7UO4bkdG8ndmyCtE2fNJSr+TfLlJHGpj+yrFf\r\nZnSg7ycLhmv4Py+KO2DQ1KeqjT8jjRQr1X0=\r\n=Iyxc\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.2_1653013850323_0.12534229235361427","host":"s3://npm-registry-packages"}},"5.0.3":{"name":"@vouchfor/uikit","version":"5.0.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"83030ebe72bddf9be31fdffef3a0a840b8b03143","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.3.tgz","fileCount":202,"integrity":"sha512-ibaHt2SIN+bL56Fk7qyWOdh0lrTGL5+n1xcZWmJm/Fn4NZ+RYKLhvIsfOfPPC3cBXlqwDYKopk0ra4YuLvqR6g==","signatures":[{"sig":"MEYCIQD05ITcIO4Qf8dU6RLKBX8TXmHE0H72X4npuo0JtlWf2gIhAOD/RSb4d2Pf0X6agnMHly/rVBDrjwvAKAiqS9IAN0vL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65840367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiixfMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8Yg/+PDiesvQgSwyeW2s/kNhw3FCCFc8U/zaf1kvYW07JEN1G3mZE\r\nNrI7v21Vmne2Idf8DXnBP8gMMzsiNzSHnouDiOAMjrFFm1MSpiWaOjOpuaF8\r\nw99w4h73ZIv3gRIy6vX0LI2lYhDOjGqz+TsUF1QcWpNyOPCKGPnxpNLxvwCJ\r\n70k8Kv7sjQ2bK9yvPX7cj7uUyM7eTklS/qcOeJUu7Va2349i7GT7qliiew0X\r\nVGoeHpYtvbKaFTaXC/LaIyy2lZD/gAn598G970a1HG0dOTEcSpyxEO11b2K3\r\nZtbjmZ6U6dNevXcihLELDlmvVHyVoQm6FH6ZkRb9fHNZkDfXnnnTToNLRGVN\r\na6y/lx5h9g9+KmsUolkA7d44TZ7sQKxTwSKgRLUaSMWaEAFmdzJnO7TpLbog\r\nOk6APvX8458lvNmAYsaY/rEkxgMFK5q0UkjhzzXQU26D/vrzQEcEbVUeI/+d\r\n5fVry+V4SPMLnZiJL5A8lIbVVTAqjl5AcaQ/mw0Y0aOOUEdhd7w0i/sB7DYj\r\nZr+0XN0L7+e5IFWpWKkc3s4hBsgfcCDAE+xwNBS3prg2eN6UXVh+dFlp5qSE\r\nd8EzipjTMZsGZwQ0rq2X3d/KFq01O+ctGnwH2t62TZy3TLdHh9v2ta9/Tooe\r\nvy6dF34PdNMaymuzt9CeE1G5fGwAjEAQNbo=\r\n=HTS8\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.3_1653282763428_0.1932953385334042","host":"s3://npm-registry-packages"}},"5.0.4":{"name":"@vouchfor/uikit","version":"5.0.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"736a81308ece021b564492deb02724d398fd2653","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.4.tgz","fileCount":202,"integrity":"sha512-Oxgjza6C/j7eukVMlPuRqmfUe5Gc1Z7Ms1hbLyzmRRgb8YVCFhQpPLOFTltlaJA64nwXNOoH2U7T0MhzcCZcsw==","signatures":[{"sig":"MEUCIQCyxLjZ0lm5vZ7fkKUqJEBuYpRtg6BldJUa/qvjwqTZFQIgfkwJF6fd/6R/hLxyZS5yw+ksq7qJijr8WNht9BXV4iA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65905646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiixkpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYnxAAoW7PNrVuQo0ma/zVN34zxixOU7nAbOvN6aPiWv5+Kd+L/GPS\r\nIDOPTHDrrsw5hIj3ruN889Y7i95X4sMgRpFiOfOWNcmdnZa6jGsQATMTKIMg\r\nj32LqRQfzEELEvr10mWmaULR4RhUNb9kqtAh+VBj7iyrlN+Pm4RvC1K663Xs\r\nk1JfPGfzKRaJU9ovV1+sSxV68qFb7osTNQ51hhOTTMrCmTIQ+4Y8N1DdVfuJ\r\nZ61flw50h+iUkVcvxaW/x6BJs69qs4VV1UN8lkuxMTqzkqXT1zv7A3feSngl\r\nEQ70MAzsYoWjshG6zhXFsNqwO/wyQDOpUv0IiG1C99cNJMEr5s2/jvPakB87\r\nXafKxtR6AFPPX8dGp38k2VIv2CyahxOyo5uXvPAcBp9u7UG/1pztqojK27G1\r\njryLsrfKLtLsiYlUwKlsS8dT9FBCIbA4IvqyqkFRDq6CesFKIfkszJbuXuAd\r\nEKSJQ/ezzYZdcFNK701wCPFoQOD1+9+vdKMl/+c+ckZ7+sXu0HhQxg6ELRNF\r\nKmkDNantWUjA+A956KnCrNKiPqBxF2yWNxDKi7BGiFlS6gavzoWnoeZi4Zj/\r\ncKIEWxnQvJoooZoXoX19HW9L4OsGnHcB6Kk0IdnWSvnxnyHGW0jYgVxY+0hb\r\ny7wrMAK68lixgNc93BTUB8QgMJEQEKCCPcw=\r\n=+DHh\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.4_1653283113159_0.38470963914387246","host":"s3://npm-registry-packages"}},"5.0.5":{"name":"@vouchfor/uikit","version":"5.0.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4bbf6fc67ff29141d12cfa30d0b1e868bea6e5f7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.5.tgz","fileCount":202,"integrity":"sha512-0NrHRkEyFlMRVcKUsetTiTK3O+sXcMikzEpr4KSqwFI3IC4iCoO4AEu8ACGSWKs2uhyuOqDg2cND9QedXrrZcg==","signatures":[{"sig":"MEYCIQD/BKowZdFdf7uj1CkyaKbWqel3MZ7IF5KlpFo43aJkDgIhAM2PyrynwizIdvaY5h5/Wjk6YCjxktWtXg1clDey2FP1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65848350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiizDqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSuxAAkQuzzLUqlJQ81k7bF4gyMJzonIgPKHJq0DSLirnTTP8VZjoK\r\nnvee6qM5QVqZktywnpx0asrrwBB/Zwei4HBW6FjMlafirtYvHnCsrB9Pilgy\r\nv8bbWTEzBoD9or1TAD/+uHvTihRFhYsdPKhavGIvU4s402d0P17FkfSEIXl7\r\nHLJV9sjWbOPcHGZ9vy5xBUHj/jy/Ga5t1mA9/aApmRaKPjjYgOint3KNoFU+\r\nMmnRXLusPydj82YG3zw+4UQ1DEBhRhImHRJVP6sCayUauF1m7BYTxHXMxIHb\r\nk+JwSqB6fOaXWcZtX9E34eJ/O/EWTUIU/5Bq0gjss4UXQRd3ezqK0Vt+QQyV\r\nwoMKWw6D3WyGGVaVTr+p7w5E2Lcva9gU7BtnR8reZnvBvjECCMPogKSLrTnj\r\n4w9s7Jmqna3KoOBJQvTl7YQTqGWcQ3HASkN2WMuxAgle9hNvjLla7if7xkGK\r\nk4a3ueh7t0jQDhM5jRmvPdZRUExJbEBHmFIJysCacrktZO45uau6b9pNpBLp\r\n08rm5nHmA++u8FrORjrhqmJ/ITr0YoVQKUjr1FXnFSupYfSmGBAvxDild0jR\r\n2cKUz6d2u//nDyJsmpns4MVQVP8MEc80lmM6twuPKD795thelIyclH4UXECq\r\n+w0ETyC5fA7JNYf7aHOjZhMlhxgo3xzVi8Y=\r\n=FcBw\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.5_1653289193948_0.9430816780437845","host":"s3://npm-registry-packages"}},"5.0.6":{"name":"@vouchfor/uikit","version":"5.0.6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.6","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ed753ab6d2ce79a7d56f14efba638eb97486d8e7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.6.tgz","fileCount":202,"integrity":"sha512-bBtd3uwxpkP+VKK/e/kP4kOSgvLHgx0NfLj6V+KLVgmvPts2CSz7CXgJToXTx6gkmFWbWsa1RUhmW389WAjBiQ==","signatures":[{"sig":"MEUCIAmFs4k8IMGcoa+t/ek0dXzzqCC8TK3quvOGVpKDEVdBAiEAygOUDbvTFiC4q6ZVXeyDzCQgtp34zrUEE+1v49DR00E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65913629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiizGUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDhg/+Pyi5V/LMBxEzICB0XfHTuCclOzqWsfIJzz63vufxzShevC83\r\nAR3y1wM7+fyXYFAF+bk5whbWR6gGd/AnI9hpqxfNzetffl4qDx5oLXj/OmoT\r\nUp60LnUmIeiuuq7JUcgHYX7sDCWbDw1y0pG80LNEQblrwbTMK1yDpKdLlIt9\r\n9Wa4dbbm9JLdJYCvm85qeS6bw2+o1ycmw1G0WNYB60N02c9J/iMoh9QIcMkc\r\nz6r0JjPhDz+b57+YiB2E5nbBjO+2FtorOQhxsWHGuTmks8S0kofVRFLHxwV+\r\nHzRSbTw9VPI8OjV8HzzI7r5DzjOLjiCN+UgdQWo5d8BwXWvDy09gvOt1oZ4W\r\nQDBhCZYRbkBqoqE08EMyabEu2OgZyLmNkMVHCBV26CvElcOwZyhSvJusuSBW\r\nXerhDeH+yVPWD6nOaxchHU1fPRidK8AHv8dXiFK3gM8YAFVe7JdILVnoolsf\r\n1AzotL7ahlNAWUAQ+95Uu2NDjtwXnqrHJ5LNNeK0YGRIFliwsjj14AQT0nt5\r\nQFbWCS1Q6PpS3l2Mbaxwx7o4hGHma/Dt+Oo9rkqiKc7BO5HKasuIWAKOPTki\r\nnUdlmr0jMSTAyxxZxS0o9Nq9IGV7edTQ4teU/flw5PF7DR4pxhv1mOyDVR/G\r\nCW6l10TqXrKMHyeyeVrulSvlVVbEEWLD0OQ=\r\n=2iTB\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.6_1653289363926_0.5295776305550899","host":"s3://npm-registry-packages"}},"5.0.7":{"name":"@vouchfor/uikit","version":"5.0.7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.7","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"739aa3d9a2bdb46da43fcadbc19905b5d980c1f7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.7.tgz","fileCount":202,"integrity":"sha512-O1jGER89l6AUJ0ogmtWT007UKhvJCwRbfxEOM2+S0DY97eh93nXtIIFYY4qCSIeCeuFVk3dVKP/vW7QGXvBnMQ==","signatures":[{"sig":"MEUCIQC5r71huTF0GEtjYOpt9llRtFYiOwrBh8EKtSoSnfOdWQIgRrOZvU5nZzgWbSrn57YyjROmtgsKCyUILXsaOSZklmE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65849794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijCMYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouEQ/+PucfJXArMSQhtpmtD53rGKm/JJ3AbWHU4F8gAa8QnvFOR1s3\r\nDR9GpMMECqZTpHbjE90wU4fwqXnMMwePqLhfNgrreC6iWKXAfSRWwVj1I36G\r\nnvWIjS70fzV0zaILhdm6tgKN2BchPZTnlc8YEFgETGaprWgu9e1tcyiHOF83\r\nM6Qle5LpA4Da1lk6doANOA+5zsNl2g0oz5qvqEbitVRJf5VX0HTsBZr8xm0M\r\n22XS2LP2gdzcDSTtD7uveE7Rp/Y/+PJubj2kGBxPLaeIf/5yU+FeimG6baPd\r\na0CsDWBRGlIkhlI4yPYBuA1Ju/iSwgMNKEdlOHgxM8wvwuHVGvpn63P8a23n\r\nqtjpOb7GQIpwvmHtjjJW3r1tsZIybTT7UIPFQkN6Zf5sjOhlF14H9219brp0\r\nSPFTqXVcreXv66HtBJicpNTuY8zvPuenGi1nUPhCITCviQQ2mxxyWDG9OvSa\r\n5L72mR4fJ4fgfQkfjcJ473WPB+9KZvT1ltIn+qSgkoXR9vh92mD85o6spavF\r\nzAlnmNrB5MAwJ3/0nrbd9UXhJxAHYKCixq6nji0M+8MYRMQyx1LPNtqm5x4c\r\nEEB1MjOfrqpbPM36Fmmd/RXfQKdZ5ak1YX9H/92PzgoaiVgzgfsc3RFEpPhW\r\nddhNuAU8P65GDI+QN8Igy9Qswsei8b6PD6U=\r\n=3ili\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.7_1653351192517_0.3993570504417798","host":"s3://npm-registry-packages"}},"5.0.8":{"name":"@vouchfor/uikit","version":"5.0.8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.8","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"15cfdf72bbff10adf38450281f8a934835c6eb47","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.8.tgz","fileCount":202,"integrity":"sha512-+zn8usFzFa08tBzx+Dd++/ys53Eoihvyq8uCxDccEAil+CW0xxxXpbZePfwZQDXJMBciBFA7NlFexRuiG34I4g==","signatures":[{"sig":"MEYCIQCZ3j+2s/4XQiSW+OaLY5HSLAiZKsbpH87LGoxOYG0V5wIhAJUJ5ij+bzJxSP5Xx6iCBhlam4E9nHqhBFEDRYC3vRxp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65915073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijCQYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMRBAAjrF8dWWKx1/qBTI7TobQEgm8u2OJwrB7vSZKGJZeWw8C0SZd\r\nAKbYejzYFlrZB+wetqKZ8WikmJDFa2KYQeWLk3OrJAW1bX9BnmaF5+mq8XUi\r\nznom4K2weZSxlIBkPUPh3G/z9UgH3DmBxIcJkGS/eVgjOOK1QvjrZJDwONJl\r\nbg/llHRc2CeYo/6dY0lZZphpHsdhsy1d/SZxvEVRmEmR2LZRkFNc4yz/Dl6n\r\nLPPNzhRbj8qFannwyFtJRvJFSSMv/guPuzepxa213FOmj8xnN/dXBPnczcXE\r\n5qQenT3pUlu8EdyNm7AmwhxBzdqocUss2Ez8cj3LcAU1tIMHCKUftlQa3ods\r\ndMwPFUuRcAiqFtZFTbduyKsQwt0h6VZl/Q8VsYSXRxG07PN4ebu7gh/BZTke\r\n3S1/MPgWa++j/maqieVu8Ug3K4AMRIgGL4hMnptH6qZFXTAgfjLlFhwWbtX/\r\nRsDJEnuGFa3c4dv7P4atoHDCorUCMZTLt0msPL2ccBtHxyuDOKJAESCniUb2\r\nlHSew/vMzwyV/vX9uFqMcu0nlFV1lcIoHlUD7gE5HLDGX5/cLVcEawc8PcC+\r\nXnZCagqg0akYOg+SWofxFzBrGYnM+sqKHLXTB7l/HId10zNADpPns2xC+0ep\r\nK0kbwXBlKkN39Y067aVS5wZanC7x6UWYpVU=\r\n=9zk4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.8_1653351448415_0.10966832180835984","host":"s3://npm-registry-packages"}},"5.0.9":{"name":"@vouchfor/uikit","version":"5.0.9","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.9","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"721e87f3a0b37f82eace4149990e315f81b53b55","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.9.tgz","fileCount":202,"integrity":"sha512-G1SXbi7RSYYQMa5PcMtoH9AAgfWNFeDA7RG+R4UIe1OCNQrFX7elCWXYAHpdzdcfQ56dYLQKmYUaIeJMWvUfcQ==","signatures":[{"sig":"MEUCIHnUuwzGoOfSfoHpv8saiTBFCnZLZLGhsltJvBn+tiMWAiEAtbwaxkTtCIvAq9V9De7YoKLBVMahu3iKgHnv0emvhFs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65864750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijGXPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwJg//azleY8CZ/vpOi2lDstevaoZLFtHTmls4MnvvQpNKrPIIRI+K\r\nDEPmVA3kSwLipWDlH3Z31KQZvaoz0uOhXyH7dQVgWy9fNbjpGcf9mlYXV5M3\r\nAj39+wlRbUiCObe0FQ49D89/STkNCa8OMFU8dk0/2XBi9XoaSGHpsvWYOLYJ\r\nmE29x6Tb4fmfQNPDoX7zuXz6EKJoRfRZqEiGSD14LUvkJrCQ9PaF6JLLzSB+\r\nS3Bv99YGLSWzno5fh1kJAV99vDjkZsuVW1uWvNeuoY7y50UuvysBmF/dxpa5\r\n4peJQ8elRaF4W2nc2iz9ZF7uL9ZGBC5L8u7a9QB61ba+YxYmhc6UlbaFm0Q1\r\ntH7tvyebTmlCN8ETfiWYe4CQVp0ILulzsIu7wR9tjpnErlK4TEWyrCuwgn8O\r\n/kHpDJUGR6VrItSvLouASsv4/NtKMiYP5WUE8ywh5FJOKOaUK93TiDI1zj9i\r\nBYOqhKmU51o/SplVbNUubcGWV7WOHDE9J3SAF7UcWFC11sSGptMV2qsFfzHE\r\nkucTHuG7JG+TJxgRHtwKMDaZ3uELGHDkGAU6LRhH8seDnl0rwrtrVfCBqdOW\r\nXQymUAqYniA4a7D7N+WADTrsURJ5EfZCK7o2Y5tqygUdkkSSRHdlKEX51MBQ\r\nrQ8lHNR0K/UjZZQHSqDnW5zk3cAC3HOiUJs=\r\n=113M\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.9_1653368270955_0.3435609531148467","host":"s3://npm-registry-packages"}},"5.0.10":{"name":"@vouchfor/uikit","version":"5.0.10","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.10","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"eae52a1151cd919ed3723db4149b894554e8c2c0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.10.tgz","fileCount":202,"integrity":"sha512-vlH7UtCh4iasdYDl2y7vAFUvGvrAJx5EHKMHZ8wSSup/OhIHvRg2PgYIv172aYI0HmLg7agUVM6bfot6QbyCWg==","signatures":[{"sig":"MEQCIF819U99kGhJd78pUWcJQQn5NE734ZAZ3tjm9GOCFzbxAiB4VaeRx3DpBQOEnGALco45J90VqhuJYH/Qc9STwAAZBQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65930018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijGa3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7Bg/9HXzY/JU491gyhtLgdTIsxNzuoUMzHgvp/Abnd9RwjJlbJNrE\r\nQHIRyIJ4PpbYSlow5nFkMUZa6inS5a6IXdi139PYv9JaOqRvERi8zmDjUCIK\r\nC9hjhkNkeVJRDrMRxrT7gaBEsUU5urS6dTQXCDqHGKf3M3jfdy0AQUEj7frn\r\n6fJXJ/CKd58pIZ3/FJsN5hfwYhMp7i1OkRgBsFpmgawpXAiumAKHSYMd9Xh7\r\n86J45mgmz3RpcBHGJ5NiWwQSf+CXUoQ73lFTGIlgbtO9yyVA+lid9oTlBkfW\r\nlqwa+nTUuukivGZrEPpYN8SROiwpNj6yqxcSVkZLlGHXmTLCFKi8VhvPdSEj\r\nvM+IlA9xMGwQRUX4iIFXDHQtAytKHdUZDsktmAOe1yg4oWinXtGUE4UeezAN\r\nkLqUFoHayXEUz2IzfXiecEGuOu86gHkWRElSCKkrvcFpg+KkiGOGX/0AcS1i\r\njfJ0yeUiHGqs9fQgy6BvxWkRQo8JxYhlLPBO331nIewRC/kSh7NlX0jsWjoX\r\nTp1on+SlbFEq5wNuNOkokgLVCgCFKu2Gpz6AswTOuogMrtX6A1uiGqh07JNS\r\nftcQc4jXJJjPNw1gpzBqp2RLySaVza2QNWYonMUgoLN1F5QSVOeXJDjEFifM\r\nam8S0t9oSbfV3R5kfCcLrC9cGmRfuMVWynU=\r\n=FM43\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.10_1653368502735_0.9729218710391612","host":"s3://npm-registry-packages"}},"5.0.11":{"name":"@vouchfor/uikit","version":"5.0.11","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.11","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"27dfb74fca8da226e82cb80c7293791ff4b74360","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.11.tgz","fileCount":202,"integrity":"sha512-QT3VzQcPcvt/u/xqTqUwtE29oHY5RZaeudK3VNA6Z+bIyoPW1z23eC3VeY25YIrwfzEsV+e69YRTqwGVI9cyTA==","signatures":[{"sig":"MEUCIQDz17P02+5UxoZ8Tv+TMqNbm8QTqum8nBXGyuC49pGoIAIgNLpqW4UfICqMgnhvckzqk/ifxsPQsCHEYU/Zzim11IE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65864751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijGmgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmraBhAAl7PUaeIip0z1eiideAz9tAA/IkB/HHO0YYY9tORKNgxubu4v\r\nCenDyFt4sea+YKx+QmEAjYOStIH4Coe818kiYbDgDq4Ap5/WIZtZ2wn20Da5\r\nimgTaJRgFPHNawTYDSlbVfxxLgwAGlc9hg9/kxVvHh560eRAz6YPXjrGkumh\r\n80EserjXi+ng/ml1qApjwOcbrGcXvhWRYou6MzlZ/P8lcJ3j4J+oi4yoxDzd\r\nr49AdR9zvzFrIzriH3gYSiZpy9lo0JSAaDlEAizjIVH+iKa1HhnZnZMg2Xzu\r\nWwcz+T44z6wVBzGxWApw2+xBrhzSHwqlB2PomDza+Jk0GLX8M8gYMAm+P3Jq\r\nII07uiX7TNLZ0MRHWoK73qN68kaq3QcX+pCmdwsji8vhoDG5UsYbO/fu3mTu\r\nqMkQfP0IOcieKoeLO3PbiqrXXNcinWKt15DXylvZ4Wz4pUkKZGOH0k+EKDTH\r\niFl8sgXXLyEpO8/Zmt51kdW8/CDzzGLd7omIBqFmVi9K92fhlefoHtKQ87ZM\r\nyvmmgIaXKqyCadqfX1Cd+3KQIM3X27cLKjK74LgVbIrdIZU63SPgDyNMgmfW\r\nLXUidp0Tzhi+P0Fwwcc3kXAG4/M1ANRjz08PnQfDwdvV8TWw4rUTn/MIQV7e\r\nJy9izNODt2KQ9u9AWLXCfgCUUEOUv0URk0Q=\r\n=JOmw\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.11_1653369248188_0.3859343654167615","host":"s3://npm-registry-packages"}},"5.0.12":{"name":"@vouchfor/uikit","version":"5.0.12","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.12","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3c008971955ce03743772f9dbbbf9dd4e5fd8166","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.12.tgz","fileCount":202,"integrity":"sha512-pORmSb3UFsY3kiCrmSoNrF1Ny7epFKNCE/wq1UotDZCKTJusEvpof7DmFGBLm1aFbwQ2Fv3muiwTLFzf18rEHQ==","signatures":[{"sig":"MEQCIBKms5keO8JDb2Shn2fnk/3nIWiEeZ30V5rKnWP+xjEOAiBwsIJV4VL9J68kxNBPn3c1WhbBLaeOluCV9/UMqi/quA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65868836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijHkxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGqg/+JWKWsdN0mYb8Mqr9Dl50bZLQNhnanX4+C0L8GgMZ2mXbfLlJ\r\nLJTy/xRxDjoAQ21u/4dUf6BDIJWzcjrGc2EZTBwfbeGCFSUTTQww4EsjF1I+\r\nHnH7cmdkNTSIrn3iH/ciSLMG8YP8wSglQYdMbnxjqTGpS8NFwnGVmWvoVk7i\r\nIJVTLv4KqpSdUrGU90mqjTmvkIrNAxEEOQEGm5UdMVAXAmKGLz9By8GxA/jB\r\n33dnmGQ43Myn7GzvK/cu9e2uutdOi/tnwRITznl8QumwqplxnvfLXVf2ipEF\r\npuTANOfDLuiiM12DWBPOyPruAoBSuEeG+6LplVmv7lIyzNyxxP28pvJjZHhQ\r\n7LdKIiDGPsYU4PIkPpuYD0VleGp9rCEUc2glbf/aovkr9TEdu5lTTIiwG6qT\r\nQoVOMxj5jzAZ/JXrVOrBQBvPLa8QGnRSg8q9jwjZx0wxdXNgODPkw5r5x592\r\nkWNRJl30yEXku5lBf+5yHhrkDSeYWAFfhZvgvl8x5viEiaiXcWhZwg/0A3aB\r\nHlhWqUllRx5UneYwOV1w01XerEV2lCJcCX8zF9PTJhYIIFSsW5aZEFcqdJmn\r\n1qQ4PyRjWLI9rJTSqoFa7oC6mQw6Wq2vRdJ5Jd8xcGLQdvwpz8mlfMmxkIYY\r\n0mJ1DIF7PD9FWfhAonnjukKj17EOfNVTvn4=\r\n=7nq+\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.12_1653373233041_0.28298190887270525","host":"s3://npm-registry-packages"}},"5.0.13":{"name":"@vouchfor/uikit","version":"5.0.13","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.13","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2fa74b67bb850f13793102cff29ce4f95ff53faf","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.13.tgz","fileCount":202,"integrity":"sha512-vVHt5h17a17HPqpqW35too0bw5bVq5qQhsuS3uIqScxSwnYAvFBH7LZEDrr2hQbhKaYQefZAPicJ4SrwLy1yNA==","signatures":[{"sig":"MEUCIQC9eYXv+SXmYC0r2Zm8AMEfoHyrJ0kZDAwwa4p5kAc2bgIgKRfhfTZ+DUbgi11hJ63LTSEye8XOkrme5VTZHZqCQKE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65934102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijHngACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq51Q//W09Oyr7kxz7SzwQ9jUKF60dopaAplJlo+VMiYf59i5WEoeDG\r\nMSgUF6qWiqOzmHm4SldrMo+G0rTCDA/VtoZt+5iCgct1zk98oq+dnN0i/25o\r\nSeFr1iLvRwSFSyq0glfuD7uNoVZumcXVPv3sKD21iPhKSZ8PoyA+cfQMRS//\r\nHvduTVNtcbiNac1Z98HVrC2f3nB4x09cMqCx905Zpe+6EXsyFJRKUw7gvXTU\r\njC8F/gKg5yX1744EZf+QKXfn8/Hd9hHUniI/OrqJiS2aT+PxvdqvAMUEMH5H\r\n3hGek0m0qeMK4nDNouzKrNef1HdpkL8bIKfcb4IR2Qp596TO/gH2JXvOaxRo\r\n4r4CDH6UzHwtUXWZ9B3rpS3kc9Tv/LC1UlXSbnwc3hsKklgQ9JpYY6a7o9cY\r\n3b10MKj3IlqmugtSJPZsXC0vBCBK+K+jRWva8af7e2UMftEkfx7ePpOJtKut\r\noo/lp+sTHjpUYTAEjPGBU7rzKGvF2nel8TTB82prNcxsFQ6p64Y5PQcL5lrG\r\nmuk18ciiwySVPGoSWqiOGq6TBknOpLgLpNvbUqohbA+9D09sCFMwOSzCi3Tp\r\nADwxaYdUDblA55wspNCnZVfGxtUTr9fVQD7DnoN0hhtMuSmyz8+zbrInZXYz\r\nAeOc5ZzewvNXbg0pds04o0bcrkZT9MRQ3qg=\r\n=2akE\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.13_1653373407775_0.2258781485745638","host":"s3://npm-registry-packages"}},"5.0.14":{"name":"@vouchfor/uikit","version":"5.0.14","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.14","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"04547c8103d7dc66e20e8d6b5a57d2419935ad16","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.14.tgz","fileCount":202,"integrity":"sha512-5dm/BGrxB2NLrE9dbHkYcT2ylO8gJZj8IKxIEZZswKGzw/eJ3QmvqC8RgEKCAmyfExZ/JL4/5j0Qxl7GAgn2ig==","signatures":[{"sig":"MEQCIAgxH9qk86tzeLJl66EMUhaGVqoKT6HryNSMXPDrflMZAiBKvwJLHsmWVZSBzMqThIWsIOc0evQEeM118vdgyUCRpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65933343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijIBOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqrCxAAld6vCX6JKHYd3uKuStDChzCD+EjDe5XG22P95U4poU3alEdl\r\nFJNE5gC9t/UNJK6OGlVhwocciAQm/KrO/vebjAHLQlmcrUKGLtCysqSxOrg+\r\nsekWu+RVEAIPlkxggyBd+IwXRu41EDmBnr+PArM9PlJH8UUqBCW9GvQIo/DB\r\nJ7h57fn/t3oAqcl1YK71OZf9xBAioe0esGBrESybxbaxFQt2tCeDeLkP/+hM\r\nPRcmEDAA10K/994TY+uDym+YjjE9aphdcwi7z2yC2MJq5HCd91+DH84QJwXS\r\ntiZXYwg+BleuhvvCoZse5SnV9AaKwN7ewPQKl3Ni+MKZgE3l6qkUdTe6tqnU\r\npSM2KULiUpCjbT5wsp0NL5IAaq2/QJkXKfhPJ9rTqryK+eDsbTNZ2kaCf952\r\ne0uemHrFghbykBB8SzA7rMfCm4TVvhIXnSvKwLY+9pt1udxFpFkUKz9Rlr5A\r\nVxCQijgCxxjlEjqmhnDH4Jg3ZZdJgtzmbDGMVcE6X/2bJgZ020Cks7kQXiqM\r\nMbTErGtbW4gY6R+bWGMKLWlWHpKV74XsxBpCCtNoeurf1loyAU/mClvJ0UiB\r\nOKWsns2/PnsrHaMdHd/pmkztc8gTLWCsTUI+OgmhbkSbbTNjJdKdWrGAy8P/\r\nc7suQUqFJftIHSHz2SQIeitNs/Ac7vwR/9k=\r\n=3dKu\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.14_1653375054264_0.3607170459835669","host":"s3://npm-registry-packages"}},"5.0.15":{"name":"@vouchfor/uikit","version":"5.0.15","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.0.15","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f44a814ce2bd1824643a4248fcf70038f28e8a80","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.0.15.tgz","fileCount":202,"integrity":"sha512-IOETNbAEP/Nd0kAp7j9O6DvPwUEUEPpYKWRjnq+6cLlgtbI/KxyfstBfcRHzIHHnl1pt0NAVMb/cuF/C6gN8AQ==","signatures":[{"sig":"MEUCIQD+wzmB2roJQVdVFWkW44RHi3j3rJhRnHXT2eFlbzhZywIgR+YclMeCBD1G6Bm0f496q5/Cl4JubxjWfQXFes6blAY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65933343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijIcjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgGBAAnqccZB3ERcgBkNynT6+amuzAKZdaRbl750AiuPAMH9YFe8GS\r\nUUFUMVL2nbt3QpZNuBpy4aH7I+8i83g53NmPPs2R2hC0/Ddo16xa0ebPZ8Fj\r\nymbXveP1lXNf3QnBTKU2sj1FnUxYSJyDQ9SjIuCgdZxqFNBEF+tGusERy3zx\r\nJuI2+pvLK3RKaa+qDAOHdR/nP2RDCcwUlbsNSgTd8ZFYY6b4r2rfQuaGaASa\r\npja646IkknaNR/ya7pel0zOaBDCR6lsobgsygPeYy6SG09P7QJ89zqJl799d\r\n+3Guai2aHgNGmF07mJSOHCklrMJ7cvScdJIMwl44142EeuptWNI3fwuiwhZ6\r\nLaji9hCcGHKdlHBQuCSURreBcmKhrvtCpobSFg732C4G+R4n7DRqmvMHvhnO\r\nvMz3/aOeyF/18moRITHTpCIc+BtNFc6uVfxFVF9hU+yfbHxEVJ9R6FIaHvaW\r\nlnqOys3BkitEJL5iok1jqMZaJhjAKOPwqPirHlUKr0ash7CEmRvjbyYUkgwB\r\nPF7/yWXJAiZ3BjnFVuVG6bfvDbCxo2dZ2MlB93CJ0L4FZByeZYiRIgJSHd5d\r\n7LHvPaqrSHup+GROovcggqbCzOc91vMNMNe/TD4hbsLHZubcnbvDypE0kkZf\r\nmXnl6Q99NZzuL4YbW8/8zoR3UtNBjsqWXrc=\r\n=abEu\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.0.15_1653376802280_0.41480296597779986","host":"s3://npm-registry-packages"}},"5.1.2":{"name":"@vouchfor/uikit","version":"5.1.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.1.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ad0185769121e5df597c351a6f6fc57683119447","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.1.2.tgz","fileCount":202,"integrity":"sha512-GZJnfnTQ1Ly915uhHeCibIFO/+7vmgAIRV447p7I6L4TR0KPgoYcN81Rte2CVRuFLXmUxUXKnfvMuwB6/z/FwA==","signatures":[{"sig":"MEQCIA9ERzjKOQIEEMZLVWvx78zuq3ujr06PQjjUqGqBCuLCAiBokQh5o92PwK4y2hcUUWV0D7Klk16nubxBfxVloMtpDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65885305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijz1bACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodWw/8CehmR96QsOkkuj/HOi34U447M2o4IrwV9ENTDZvRybrWC9bW\r\nTrEMldVAK57WEr6OMKmAb29T/dtFlXN/iducrx4r+CHNRjsTH3kTrJVGG3dP\r\njgJcvX6dFLEyXhGMB4INP2g5t3QxB5mmil0Q39sUOPFkSSGaBIrDixgcm2Vr\r\nPmscwZ4i/yD48qdQns2nPev6eV90AxAwV/sJDb/arwn5dqBn1QmsiKWWXCuQ\r\nIT7V5zC8hwsMD8Kz6BuQ8wlVMSVtmKUjiM+G5eUmQWGb4tw/CE5uUP8pfpk+\r\n7rPjQa9DHSinlLYTb80ef+kQSYcCZgsPTOaBaXVVdxk59WCr14SruDLLPRAv\r\n+2bb3X26DLxCetXcq/u5tkOU5ciijWs28vNFrXsCXCMW1vwRCKT4QQCF2HYb\r\n5j2AgKK4Hd6YbTqunzv9RjCV5degLKzjykvpQUuO8CfoTXEdyMX3DSeOH3dS\r\nLyQQOKGUTv4kRZ5/0vlPwp/VpjmrECrPzgOkTVhK1xy2pgBQdj+vyrOqtlgI\r\nrdX/o9s+7XgonsYX8DYDrd+Y3Y+tTmbJ4rkBZ41qvgNt6CCU2Y1KM4n29Ms5\r\nzlgEeuVzg0o6qibT2fIQ2XU/+OlfOR7jrbQt6WoiqRzItgdyV5wtPHWQsyFP\r\nWniIwkdeihKzyoM48WEES8ovN+erDC5tklQ=\r\n=kg9i\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.15","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.18.3","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.1.2_1653554520744_0.9677001333741797","host":"s3://npm-registry-packages"}},"5.1.3":{"name":"@vouchfor/uikit","version":"5.1.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.1.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f9e82d9583b4507ee58b1d7bf08feded6371a527","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.1.3.tgz","fileCount":202,"integrity":"sha512-WO9CP19cpLD6AenFIaFPzQUFoPYOIcVwlBgEBmTCy2mggc+22GN6XnkOeZ/HCxFzv2v/+BgVicuZ4hi5Tr3obw==","signatures":[{"sig":"MEUCIC3A26OjVMxPStV3TwrJpE7Qk0Yc59+tmjSnFa0f58+VAiEAibaVFWkR9js/P0VPjZoXu09Qmq6y6tSZNuY147W070A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65950547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilZLJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppvxAAhx52tCdHQYV2FkurzjcA5dxVFQ4HdjQRmtK0Onh4VPvUBADn\r\nPTYArHiniynKMfxqd+E0V95safkdPLul46jxaFQP0N4wNjKaqgr0r9RoScev\r\nsD70MAr+SnPPHtyD4OIXiVwbQO0NkuH+xVhV2ao38X4P4kOxqw9o69s1WQeq\r\nY3TAkQrpmwo38UCvIqsmglKGQfntRTw+F4hT2bgREj1fXeCaHSTPi/509GI4\r\njvYrB3I9eqE2x5kvkCyuHAEKeL7lyomgfWX9yKmgyDWAdEV3cHanyYjvrZ3N\r\n/U7QDCK7sJxv/1rr6Miq4PEj3pXKTjotYKyK/RjeCzGpgQII7FiUtIVtrqf3\r\nlO8nOA/kxG+/+aJ14/zct6fcfg87otqoUp4X4gL0G1OMfUR4d4zjcQnHA/Gw\r\n+bY3zhHdQj8dFD7gNDZELMkHWR+ZOxYCHmac1tHQXDFlySwVJPbqmRzd5l8o\r\nFOrv0cTr/yr/cJb7x/mrCvc+6c8trVVGVuBc/913Ix5ZvxsYQWhE8ojb5X1p\r\n9mwgLu31fHSzYTjriD3ROqPNgYuYNg36z3IyMMaI5MJ5tyYLRhSYxsg9sqbd\r\n80f+oeGjlVGZ3nE+kSYXWUt+1kizcTQIsVg/Z1az++sR4opbXEv++sm8MNQe\r\n1Docl+r9BUdzDRAKraPNSBvmibfE6K5jnEs=\r\n=q13x\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.1.3_1653969609200_0.6611045272081175","host":"s3://npm-registry-packages"}},"5.1.4":{"name":"@vouchfor/uikit","version":"5.1.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.1.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c6097840cd18b0630cc6d5af0e648e6fd6cd070b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.1.4.tgz","fileCount":202,"integrity":"sha512-p2MVvyjGhjgvA1G7PGuF62ZgPOkC+iTucP04sEWauNkVAK3YEKugleM1ZHZtY6GszLix16V1OXfOKeVHg4pvTA==","signatures":[{"sig":"MEQCIDcdhy8dvkju8N5ceuQfK8jHt0lF+uI2m1mjk/X2Jx95AiB8oMHS7evcqms73y/DGbP1h/UcEsVAyADGQFeafR55gg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65949812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilZYEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGFxAAgU4QV2PCda4Kph8yrVISyxzLtIjfhcnmmwaIJB3DZJgYLc+Z\r\nrS9/BkFw/zFGwxuf1cTBTWAX9HuMR2LMbs7COrzVmJHTODXJV5nhmkneq3WN\r\nLO+hkM6i1+p1sKGDvaYXeQ6hasVAvieBGZCgTP7sDOLkhRbluYNIAcogk/5l\r\nQd6zUain2SjYD4rBqLAjtuzrRWcqgTQskpd4eC9YKDsN+MB4oIhjDjXckOKc\r\nNLpgG9PFdTiIt6u1PlF6HhFbfgKCUtzktV3IIxs4Q9rFfEYte3Iefx9WE/cK\r\nqZdufAl5kMxRVY0U22HZWxop1jeX6r1f0tRMkFAnifVRKVjwXNEQAJWa7q2d\r\nw+NKrfe0V8RZcMzCsxLuBuNtA9eLWcovPFP8Ex331tfJDwkTUPdp+y9mOliS\r\nQBS2JsuTfAd4IW3JPym1Nv0u9WTMg3lTNY5qtPD1/6E9vTPrnCJLQU6kVIov\r\nW8LIDB9CYQCChwy8xcOlLhOktezl2Glq5OZyHI0Fj9kixrmKBf9h7l0qNzfV\r\nC6LxgeOpT70OTH9Ru84U7K0kyeeQKJmaC+oBRAse2ZKFRWxrRejCgFgCzum5\r\nbjRnqwSWJLotJAaZCycohNcqtnhGHMJp+FrMa4AkmwHVFyQrraEYg1G99LJt\r\nvgDStCYKpKyNRjAvjv/hu2C3jBZdX/1Ci1U=\r\n=KhFT\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.1.4_1653970435773_0.5564369124407438","host":"s3://npm-registry-packages"}},"5.2.0":{"name":"@vouchfor/uikit","version":"5.2.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.2.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"98db3e24f1b906ebb9a937dca7c67d81608cd260","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.2.0.tgz","fileCount":202,"integrity":"sha512-WgvDuJU5aKYfekh0hZo+uTDLDUNnQfqq0Am8GuKm//EWSa5DeIhGvuI8MDbg0nOaGjCqahNoQXCJ/zPlUkWTbA==","signatures":[{"sig":"MEQCIEkJSZjvXrJNCAURFDlZGyeE0havgeb+ro8YJ2ZqG97xAiACzmUiytS6tB3zsFqlyU1vvvSW3o0Qj5HyEELIhqpRxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76755270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimZUfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGGg/9GM+lOFBxgDg/azA4NZGKeJdayxNaspNKgTlKp6J+GWMFylRe\r\nlZNLPgGfRmVjQYVRyDFocKjw7vJbAgBp2BISUDWU0ehSWC8aJHzAlIFq3VfE\r\nj0QPPdCiH1t1CPJw5CaHDgkbA1kmel8YVu/rg1EEkIlpb1SFJBsQRymUyboR\r\nQTij6zz0iKN/QnozXuu9JwwnSANKWrA6+uPmGKTPwZxTgTnLowICpuwVN9wp\r\ns2tt0LEC1Ui4A7/T3nWhuSEDGF8vxmoT28GU/oe+8MU/Qiwr2yEUNWWPmvJI\r\nSqPu+3omF2VSYzMQMZNhYPl0wd7iszvZxlGgJFXaNJoL2ONkXEedfVYdpL1q\r\nrI8dbOQdCalALs/PF/lRcnutIpIh7DfYxxCqacOajkHy82NQlhOq6pPe0O1D\r\ndZt00J2z8GpTDWVmbqTJTmvRLDAsNK5WrW9XF4SzBakV4VV5TgXRKnXBEh7C\r\n2v/ZQX8qxEstC5PWlKYbkdu1wucZfv4X7aTmUmDS4hwwOwLkUpmVAlAL2OMw\r\nF+Q6IQy274X2gAgtX1bqr9VICZL55rEMCBeZETeavO12TwTfWsYzn6G2vnm3\r\nFYtybrcOMno1g8JLAzUxnAD1a5zRia051gLUPl9B8Ddu4Uz+I2OjIcaV8VQl\r\nNUodjYTiSyGatpKsab+IW9YIuJwxPEIkQ4U=\r\n=6etT\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.2.0_1654232351163_0.6047368671032645","host":"s3://npm-registry-packages"}},"5.2.1":{"name":"@vouchfor/uikit","version":"5.2.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.2.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1828b4156547a5dbd52eb3c5928227a28406891d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.2.1.tgz","fileCount":202,"integrity":"sha512-tuu2W+AchDyzMoBKJ5kxVrxK17v6mwiz8jT3U5v+cwY48tLlpt9MTZ9MHFg6QjdIh55BIJPQa3RE/RkTATh11Q==","signatures":[{"sig":"MEYCIQDzph90afiooPfrYs8zd15RITmAaERsUkno4mr2VNfZgAIhAPQYIyWP90GwUW3/sup6iw/wizBKd7wTpSbR6MMGcmMb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76827992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimZtOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIzQ//V76qrKc2BgsEIcJyayKLl60buRnydHlWai1Kj76HTsPaIk6L\r\nnVwlcWOfH0uxXIPPhxMbW5D55TtVhldA8ojcutbic6HR5ZT05mx/MupbjEmE\r\nk/Ut8nZS/uyEyw8WNUHalbuyGvYQ7Y80adpJ99pFYV4g4nYfTARKzRef/35I\r\nQ18jZ1rGXhIcuDbxhOWjygmYMOiGNoJ9z/qBqoqF+5e/H/m9IU0s/ZdaJ/CT\r\nR6ZyafSvKJ7rcrasvBWsg6OrMwy7CUjCwCe01ZuUANJ1cnZic1tpsFSlnx64\r\nwJlmk2sC3A+GiZP6AqL+NzSsXUelLwJFB7rGYP0A/p3KwkpsychVckB8BLiI\r\n8jWhJ9Ny12gwA6cFfTAllMxGFdre6tkVQisOafR/JQcquC3qZMa3sKmcpws/\r\nVBzM/K2/eHKF89V5Ta/iDPdfBjq/ACiXY/ijuZWfYlmCuPw4HUHmDzM2VRJx\r\nLHp6R5SXJlbYUNleOK+tsL9Pumw9dNPyCc1QACQV8LRcv+A7Z70HG+39elHC\r\nKXF1Qy+g+TuQUI+9cl2KWMzPbwwmAYEJr6oUrbzeXo4YaUnCRErqLxgcl923\r\n9s9lzhCHfVjK4fgzrr5Pars7+VcoV+4s6jgmyFByjkYwJ9Ue5t8+zbHnt6pD\r\n5oGPrfVJsWEwJzswUvH1/nPrSbrdNoFTkRI=\r\n=nhFa\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.2.1_1654233934070_0.14904874297534398","host":"s3://npm-registry-packages"}},"5.2.2":{"name":"@vouchfor/uikit","version":"5.2.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.2.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0d95e551a0a4db77e31e88df002049ecc5c467f0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.2.2.tgz","fileCount":202,"integrity":"sha512-CNpfB6isGswf7NIB+e00VPCw81Hz/vhGn9h5+LT/tC7dn9Zhr0CmWdkp2rUAfixfrYdAKK+hUXgAOQ6Vms+SmQ==","signatures":[{"sig":"MEQCIHuIDhSMqUOkURek4jDQY0i31QI7JKPOfh+nlDd/P0dhAiAi7qcEo9pwbl18WAYfuaY4bmV8bfu0ZD8SYdNj6nsU0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76827089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimZ0AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlmBAAnV1RnS//14YSY12CDoZEweaZhqfP3J+FqdJHzO0W1Csriyzq\r\n1NPzgQybeOgEKxErhhZxzUJNVPIQIzF7JrlN0Y11wlEUt8usdXgz7WeB2w1c\r\nSWjwB3gTOJ1CkBZodzeMTbeiLoF+xd0iQ9bz00ZuveVpCvVq7LyU38W7TQ75\r\nhYKU3o+MBgsWHqNg5ZKR7qvolrrf58RPqQGxmgCln5JQE8sRYWSn/03NBxCv\r\nnNn6CSwtaoE+4XpdnPsLgP1oNLoogCd68EN/wEuteatNI349qkqyhMs2XdkE\r\nhqV3vzxImL4yRQkhs9N6PTYch2N0jkZEH3MVyUuu1UCgw+AyUS/tsgC478w6\r\nAdRVm2D+owbU7MymlR6xh1HQkOndauaeu4wzygV2sXJLkCZ3ZDtUUcYBlD6b\r\nVhCThTR0kLdg1NnwZ7sNHZoaA2cSnIsVAvEzSPYE3WsFGgoXP81O8dZuEcZf\r\nwVK4P5Qp33EJBcZFt+epKzuJr8KhWw6VS9nVpKD7tdzejSSzAgOiLEguTXfp\r\ny26TJNVDqPBFZJovVg3za9UOzNRwCaPNDXE9/wtJ8Q4t7ujnNpkgCTxjONVU\r\nwV+PG4bPkTuEnQa0lvSYoe5BURr2UtJ2bdnpLeHzDn3dOxHkdlPKDLrJYqOw\r\np/XIOT8mBGvxA7GbIr0JVIyQejUDAwHJsjI=\r\n=a7Ka\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.2.2_1654234368013_0.9426104755636506","host":"s3://npm-registry-packages"}},"5.3.0":{"name":"@vouchfor/uikit","version":"5.3.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.3.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"58423335cfd674b8ffd19f4a4dbe17ac98009790","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.3.0.tgz","fileCount":129,"integrity":"sha512-c4cBDjrlO1pJR6EcX5wGbNAEegP7Ut4XYTzXw3n//98SZ2Yk7stDCEKWLOrtZWgsgt/pTgdfjnpYrizOFDJDmA==","signatures":[{"sig":"MEUCIFNdSJBlTnx2wppz/PvjYeTHT0KRMw67QUxFo0niPpLMAiEAozEV0Zx4X/SDHWnOvb+8BhRSo/+sJDf13858HiSM4Dc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1408448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisqCTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqgohAAnOX9L5Il/8uDKUPHME9PNr7LDtSRX9IJ+Oj4Edh3OpEbaert\r\nyINCo2yV2bHmdQhja59t9NQA/AAuG4EWL3fFA+qa3FpFAihUpOC0KcLIsvpj\r\noB3jiFe07en24P5FYJmHg3PkhSe6dEdLVqiv880N0l9mDFKl0h2W+hderx4x\r\nB0zOI7Kp0GlayBlsfyQh4bC+Rh9zxQb2XWtsnYRk3Tj46rIoTJSkuQjG3Xa4\r\nPhIcZArL5+rOWBGmWFyYx5GQ0LsQrGiNTaJKf8GsUmv1U0qR6oHp3IjmjZrw\r\njito40N8s3nLUiR/NMD61PHgJj8qjeM5QYFjrrfmsLrkwLmkX2a92vfK0uzK\r\n9uQhis7Nf258Yy7g+DsYuhWhG4ph0GwIBmXuhMxxean4qFYWgPEdr8xJE/zP\r\ns9/7fPdtoWVjdNxvmtQSc3y3EWEckuVbrv2PIRG+b++h/fO+hMKrhVppC41i\r\nRVe5wRCWmHs8HRykC942+dl3Jk14UMNOyFitmBSTqibgFZ8gvGMAchfvabuq\r\nAuxusp/v8svevrKWRs+uBRTbG/Lh9biyYlBT6sf1oepe60Bg9MB4Q0K0VRaD\r\nsONMmpdK8Aj1mgnIM28km3T/qusWHDeYVlz2cWYKgVvISY/SakYWkhVPJu1L\r\nS5/E2MDv6x8vxKw6rUnBDj7/o9eS5dmBcJI=\r\n=oH7y\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"gitHead":"a16d238b58f645641cb3aa024442983fce45b742","scripts":{"dev":"svelte-kit dev --open","lint":"eslint ./src","test":"jest --testEnvironment jsdom","build":"svelte-kit build","check":"svelte-check --tsconfig ./tsconfig.json","format":"prettier --write --plugin-search-dir=. .","package":"NODE_ENV=production svelte-kit package && NODE_ENV=production rollup -c","preview":"svelte-kit preview","storybook":"start-storybook -p 6006 --no-manager-cache -s static","check:watch":"svelte-check --tsconfig ./tsconfig.json --watch","package:beta":"NODE_ENV=staging svelte-kit package && NODE_ENV=staging rollup -c","package:alpha":"NODE_ENV=development svelte-kit package && NODE_ENV=development rollup -c","build-storybook":"NODE_ENV=development build-storybook -s static"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.3.0_1655873683365_0.06623860276338767","host":"s3://npm-registry-packages"}},"5.3.3":{"name":"@vouchfor/uikit","version":"5.3.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.3.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2cf79fa68bebb143707b80c098fff90b98701c3d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.3.3.tgz","fileCount":211,"integrity":"sha512-TVizn/nSikLWz7LDPOE5B3H2vsfPbra9BcVWi4To01VUInOQa4CvGA11vX4hDhiCAb/W7OGchcVruLqghWx7yw==","signatures":[{"sig":"MEUCIEA8ro5qis1HtGaA/wuaE2PY4wbLmVKS6AG/m6AQjl1HAiEAiyG+WKgFlhj5ctYLt9enKlwYBefgE325pjiG8sh/B3E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86368126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJis7ihACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3ww//Yzj4FiBsEfmrKKFyofdM/Srbd8vcBBO+Yvr0vsYhppnvJNS6\r\nUGKnTVQWhGRPlXJJl06F1Y4hY97rxH937Ph4eagd5cAV2fEFCx0RQXgqgLoA\r\nCbhfSDl+0m5A3iYFNAm/kXXBj34KccuJnlw7AqjEkNknONvABbJ4r7fmrr6A\r\nuHBtVjy0a6wP2pG8qkHOEYqltBwrrBi1dxK9p1e4lVcgyPMXu18grZQQRBwS\r\nP+GFDU6mYl3/GkwJuroMz4G/w5iJpKM84i82k4ch61iDXD0K7srgtXfjf1qY\r\nuZTQeF6PUzzr0fc1X3xoPPSKqXZ5UHDFh1c0cqmfeklngYK7c6eoWqY0Bk5g\r\nPgns/KDtS0RXwrBKVihQO9CorepIxdjVOTopKrrNpm3J2KJGzrG7E926gsww\r\nEvrfocLdPSnxtHbud5rBGYMfLOYgujZYMrr7kb13Wbx10lPkGDYpVclqxRqH\r\nkvSsR4soOnvp9j1vg8SeU8ZY987DNkKAtH2Frr8ORsYLKQkRi6Em9EYnWh4s\r\nLzsPUYdlXmM7LRePuYKt0iXmleZt+syiRc2RkkQYqUkZaUKq6rHbdQ1AkNSB\r\nifmIAbTN4JocbLqPmx6YE4vS59f9mIDNB5I+2HjrX5C5CP9Hj5Uqh6S5krhm\r\nIn+wx9XgCYMovedAM8vx6E0+V24aWl5O8qY=\r\n=O73z\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.3.3_1655945376665_0.06769074385791884","host":"s3://npm-registry-packages"}},"5.3.4":{"name":"@vouchfor/uikit","version":"5.3.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.3.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7e20423d4ab236581db2084862bc75f0423c527c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.3.4.tgz","fileCount":211,"integrity":"sha512-hAOyNK98gkZknrCk7rtGVRvES8Qm0lvS4VjMTDHPy0E2XJakLPhVcIkRx+DU2cmcAMynFcQmWSC/ka6Rd4EOpw==","signatures":[{"sig":"MEYCIQClJ2R19MQjBtLbuf0hgDEaB5MSJYV8rvm0TwXUsp0CywIhAK+mE3C1SqtxGFt2Nyowd4hb41pCWiUe0WV11/V6VbKR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86370387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuRJQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDBRAAo54MFzfU9pGVQaS6mI/3h1rw3zkxh+FXPY0NurVPmFYeAgjA\r\nv4kvvbMtvqgyg8VDuPcJhk8v7M5lgNGbDgJSYpd5igtJA8I2tv+p1+AIpihN\r\nHN7h/u8OlHGBij/lRYFRBX9eFlGRjavrtatF2D0nLOjZ/l2T9WT7OTQ28Rh3\r\nYXSdwa4lia+7/Q8GHv65SobD4Z7/zRZ9AzJHNfgAWrS9LX3f6Z2Ev1cQggVG\r\nxIBtj+rb6qqdjXzetS3/JiJHvTgDKwpg0fp3YSU3Fv879VwbtuMhiOk+qQSc\r\nnbPCa9zto8doWQmM5CCPZfVFkfDShWGKupyNfWI/g+X1MN7sSMQ82EkiK71C\r\n8pglmJ+i3hQfT2qE3Eyue0BCKf8OMJ9S+43odidt6cChVwiSbidpMIsyUSVR\r\nhlydu0F2Ks8pRrgpZmHwdjMif290qUh9Pf0xJGgJ123DDoW+cm49R2ddx+/C\r\nWyzrYja3FhE4H+WfIJ2lqhTdeDjMSoRsGcwh7mI06o5F0H096G1r4iS/6NFz\r\nT6uBV4sRs73NU6lElDa41Vt8keVOl8ormCN9DF5yW683NHs380eIRCg/dunU\r\nArQiJ4HUrr2UKGGEYlbolzTg+zpNNbAKZIPMeDphWgreV484F2yPhJsrtM1W\r\nMDKyupFPIj5dY96qC4Z260D0ZHxyQBipN5Q=\r\n=DG62\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.3.4_1656296016014_0.3961113624085528","host":"s3://npm-registry-packages"}},"5.3.5":{"name":"@vouchfor/uikit","version":"5.3.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.3.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"38a75f6f41c622ba55059872685edde70cdde652","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.3.5.tgz","fileCount":211,"integrity":"sha512-JeWnZR9jC4LkphGgm7kXB/58BOk2oOIuE9HBx4PvkT+Pqu5O4MbhmKVnl48jzPL6Z9m47dNuOfHRV0mnlVe/kA==","signatures":[{"sig":"MEQCIA4xOVjlu9fxR+YXbec+6eE6GuOX6GEMlFUSsqemldXwAiBwQZtdpEbBrY/UwcaTa/Pdkl9InScSBcYstz50xQtimA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86374930,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivOTdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohHBAAjTo/ghS8uO5PmMfSTWfvXP57ds78iaBnwbxb3/qv0KfzIbxX\r\nAZgtPmBuV8Hbo3wyrLwY6Qqo12Y/O75FEnUtuKjGmM47qRV+Y8+kNOJ0KRZG\r\n1UEvKc6oIC0eddNdzzmOqrRQIcou/GLORf1F47A6/e8JrakdaOmLiMMmxQfj\r\nZEqrdi5tZ+QIa1PSGWd7qVemLolv1LVUm0uPiOZ0N9x40wRXLVQSyqWlrVXx\r\nsZ1BZx8C9GhO8zla6rltrfpIo0a64ADD4YwFH/i/p2cwRugbjpeVCDBF5yQU\r\nwd0JcwP9JHBZUqK6ngoxbM9lFTLTFRpeFa1tiAXTCKDdiaS0dmMmx7r3tibZ\r\n7f32H9QB9dl2nLuMeYv644+ApqT/RnDZkhnsrzgCxI+86irkg4is8z8iwKHF\r\nyZsqgwlPGAN6Gwt7QKPDyBMDmQ1O1uHu+iRCYUS8aGevtxtmRWUC9kvNwbyU\r\nGObNJUbD+01OYlkjWoKOe3CZwBUso9Np5j/UzVqdoElhJnsA1T9KL5Y5D76b\r\nPozmQwL3qbTKmWU8w9HGXFl8HuhsdXp03UaJdpxCmKxWwxcn4+01YBeiDwT/\r\n1foknZ/1d3ZtNSHaYtTRDUZ0z8/qwli0iur7NRsdvMaQN5XccLcBIZ4PJab0\r\nhidF/QGFV+equ7EkuV/DnGIuWEoZzZ+Le9E=\r\n=lUQD\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.3.5_1656546525199_0.20806738993697205","host":"s3://npm-registry-packages"}},"5.4.0":{"name":"@vouchfor/uikit","version":"5.4.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.4.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"11011b6d8fcfec3ef79380eac80c9974c1031533","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.4.0.tgz","fileCount":211,"integrity":"sha512-2+yEt0lNElvnZAgnwVGDlrhAAJSZ6gHDEST+suWUwFC2Jx9ZvI1kxy4IFZTfBWUo2wdlBjRzAg39LcNthRk7Cw==","signatures":[{"sig":"MEUCIQCpFVBCBgOK5KY39CWCyGi7Ag7C55lzgfDg/SFjPHzTUgIgMS7zRvpmaj0mHojWYBLvrdYy0A/kK5HxsZpxFMJDpRQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87400101,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivPSGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7jA//XmONv7bCujdrGrdOEt14pMBMKU3lvZqydppH0YEdMxtq2lP0\r\nMpl4YOJ31zirXnxMCYJ5mOSs8YTbboSYyjx2AdWQlHtzNmfHXFLdEgGgjsoL\r\neT7GV/Xpz4YU57LluJb7v5UjxbFfIPizItq8Xo6fHho0jZ0dM2TXe2wWr9jU\r\nfEACiWk0auHkpJstUUAt04IvEKJjQg5uQ24f7zW0Rk6AETLdmkZCrBWvZnm7\r\nMoeJbowBiT566dPOz+XoKLU6K33/wJgJ5F2/J+qRd4QhTHDd3Nh9A9tORnF1\r\nk3OjcONtQCJwyzaWreb6D/kCDkCCVItFIPw6vx8kct196Rfd0ucthlsZrzfB\r\nvfIyVU86o8E0SsqX6xlAG2VkgoBVlKBX8VMq5POsLH+afbdu/AYIkLtxeJzf\r\nevRFcMBtdi9K8ExSo1UtwD7wNADzoK08k66guGa7dR9HeYgZB1/LsV+rPKsJ\r\nGmXWSt75tmm/wsqRqRg/Db8GeVj4MnTJnxVJdMhdpVXAmEqwrBfodhe9Hftk\r\nB3dQR/xHTcEnZa1r8UHlAqy4kw/LnllvldheBVwGdrtUjNVig5bPOeTNQ0dr\r\nrb/YgnAWnwFPXWDL95y+f1qXUa0yoL3kXH9zquMZF2SusOnARVeJFioI4uTY\r\n78ax0Vapbgw7YCTSmGKl92dDcho2cYPpPWQ=\r\n=Neme\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.4.0_1656550534121_0.6199341710554578","host":"s3://npm-registry-packages"}},"5.4.1":{"name":"@vouchfor/uikit","version":"5.4.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.4.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8a2fc1faa0a29d6e7db24a90503c9955f7da1bff","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.4.1.tgz","fileCount":211,"integrity":"sha512-70lXszfuJznMwhWOBcLpa1bnSf8Q7UCF9wb8i7rIgLwa5shFQvlnkaJL36UbstLxnu22zgP32KNGwOx7MSJU/w==","signatures":[{"sig":"MEUCIQCIYoZCHXpM3p7CPnC29BTFaJkqR/9gOF6UIdg8lHOe7gIgRcy6A7extaEEJwithLdpNXX13pRp1MM0b+i7e3AQHMM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87435598,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivUiQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUig//WW7grkQ7ODGXLhdm8fuku6234NZjdCoy70F/rG/YVDL1eS6n\r\n2qw0LtUEMxMdlX7R1h8gslgmd11mZSslyi2nFHKKqsbPVjRcZBNYY/tHzcL3\r\na8i4FMdjnNiz/z0Qy07kv3PKH2j7XTAqhNDgfLXpfCcrb/Frn+PXUKJq7tSm\r\nC3iqCKOGh4WRhRsveM0m1o0v1LfLhJWBqUIy5qfJvJ1LCTvbcNJobRijThHT\r\noHwN9jiUiLjWJbMZtLJP0ZepHfLMjygNQWO4Rre1A4szPOdCflm0o6hLr0bq\r\n65Y0mBQer5UI8Fa2Oe1qZQiEp8f7Hxm2ZyUGZZ7AQehVwmbOAdpyP4tG9TJB\r\n33yLkqte9n3TZ/N/Ta4ugeNHNPT1nyfdHjfOBK1hZgsW5Fp5RrJ3uzemQ+9t\r\nBNndZXGc5yJL2ElELZBYi5L0jvy3WgOozvTtle78HwKcjynfrOz+yMltDbNK\r\nd2VWGqPB+XJRAYt13KhpFs3lPec3giLvgH+dn4d4Ja0MEGISvJ23alATzyvb\r\n5hFjGGXeR9vZkk0j8OP890znsYGpRsVwt/Qw6SM6zZWmamdZCWTWYjaZr1Fc\r\nx6R9FGYzdTJXsQA4+X2xtnTbwXYMZQl91kWyIvQneEjtFa+qfMccEg4PrOUt\r\nBQBIUM4RjVQ9gPCMrYfxIht2SbhbpKPoj1s=\r\n=YAsE\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.4.1_1656572048348_0.20502307188551905","host":"s3://npm-registry-packages"}},"5.3.6":{"name":"@vouchfor/uikit","version":"5.3.6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.3.6","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"491698b32616618017dd047d073babec2df2cb6d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.3.6.tgz","fileCount":211,"integrity":"sha512-bHx5chCD/W1boLv8/sZnk4PMgAm7SSF5wz5RIxbnGYkyDxgGdCDEVn62Jp402/TlKXq+vTp/4z02GLvdsxPmLQ==","signatures":[{"sig":"MEYCIQDza7bieRajW1dABDFLWr+PJqZtt2mAwtsLJGcATx2WygIhAJoq+nn+ZqV6ocAtTUZif/XZMUmNGvg8siVZ38zmqWNt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86403046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivU+ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5MA//YoROK3POcT2DDP+nYaRN8Rlwkf6roO2rBqH9FlrJXlYBGOOS\r\n9p2RFvsr/e/r9lVCAWi0PUkxRa8V7+tYsRe8kf+qFu/2Ge4jcB/pia6oDVk2\r\nXH8WkUVNOu2KavNyNMVIP3MIc+XFGUsXj3khd7YzYS23n+xjBtVASxadxVjV\r\nVvy4DFehEqU4IC+aZJ8gZk6m9sZskTtD0QOPRpT9s6h1EwE7E8TSwUtAomI5\r\no4FpxOZWeb91Y1PuOu+4y/mxkGwNVfXMfiV/ZmHSqC8MGTHKlj1J6KpsimYQ\r\npbKfVMzNW3LacD++UAtpTL+52fe9v+BY2ZN1VWJBu9tjd3CbRCeaZSUa8bsg\r\n9jxNqnwtJDkDqsU2sJcWnOZ0yTDlOKutmByVaj2CpQ15uaxDQ5MHG6u7e+/K\r\nA44+kj93z0dchJjqQTVXgTg32kHHra/jA7lJapEPfHyRpLQMbOrnvqHVcLN+\r\nqcGDzX+Ql3ZoYj2BukHpPn5dXDlXdS4t8JuY5H4rMpjYgNmAPrMd5WJ3FTdC\r\neR0sw4JDzC6ceIc9du8DTbDbQ4VuSvo/fbBOsQHSvn2Ml0YyevFNvHfE9sK4\r\nPq8BVPJRDfRUUoCZfIKZqYUk1UkWSZCLwkAt9F5XcKqmAneZZq6UmkOyWTbu\r\nKybluMgLkPDe00P2mEBUS2YdyKKswNPa8Ts=\r\n=2ZcV\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.3.6_1656573848787_0.8254019897853764","host":"s3://npm-registry-packages"}},"5.4.2":{"name":"@vouchfor/uikit","version":"5.4.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.4.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"60e74ccf444b6303138e19dd23ee1c16beac9516","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.4.2.tgz","fileCount":211,"integrity":"sha512-Imr0dUo1zAiCYgSP2Vs34RVBU6pdQOrwLixPAnPpu/L47/6JnzPUiq6Cu/3ZYNMwuEvl9ZulX4sm4tu9ZQ8e+Q==","signatures":[{"sig":"MEYCIQCEgbkTvSgPhzjOjPKNkgkX4zWpa6FtbyNltm8gzPhcdgIhAIsxOunuYdWMaEWpPrgpnQUlu/ObifdzOeTf7131kDii","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87484856,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivomyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozBRAAgC5O7MQ34ft+/2QBAcR5b80hzm9aoDQzsLSXnyuIWvH7JLAs\r\n93S85ks/giBRZb2DwMgvdJOF0YIPb6P0RSc/LTtqtQjBSS0QkHhcPrbLKN/O\r\nkaeuM+4sFset9Q9bs4Ja40lZbxiOlHvZ+S5nonWowOcRuz7YI9UnTrw+iSvR\r\nlevbSY4QqQxnxjg9EG06VCjIsIamKYU242646kF9XLioDnxpuBOOTeNwtFkE\r\n3StWQDPQC/lu/0hradPvp83NW81RyX1jc2KCKUv3j7d78kuJP+0ri4XDSOTw\r\ni01vRUd2VsRlPzdlOhMJLD83fp89ATU0i53vWHME8Je/pKnUbrMscJBdjqge\r\nzrbVISzh8phVOx2AOFxHk+nXfX6GYlRQLAuc2JB/FVTZa8+vNmzA1IFGRPf4\r\nAlMKHKGUOi3X9ctsQ+KVnNwTO2Sld1HEBsne7PFz5zZK/xEy0iJo3wAVJPCH\r\ngY8VLpViAQisJuWkvJGUoIb5L8OZV6+8if1Pj0TmR5JNcW/+BB9hTlK7JWT+\r\n1I/D1cZdbr7ZvXwSXnZohO+1G4kTLhYHCBJRGXvZ2Bv/hlyKQGBzVc54K04T\r\nYXBBWIz1EMxM/gprVAWJ/URje7ulRMTNEbg6P+iRc0cfXH3A3H01+ILMq2pQ\r\nwS09VUbAvx718WbTGPlbD8sLVZRCF49gLck=\r\n=Wdxa\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.4.2_1656654257994_0.2812442780157587","host":"s3://npm-registry-packages"}},"5.3.7":{"name":"@vouchfor/uikit","version":"5.3.7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.3.7","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e247d5e8ad2778ecda9488799be22929212121e6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.3.7.tgz","fileCount":211,"integrity":"sha512-weZLeH4YwOZYrXCZjruX7nofo7FpGsKqLtK3v9ehIN0yuLniI7eQO2gDrzhTV1x85P/FRN9L3YAnSNl+yDYA3Q==","signatures":[{"sig":"MEQCIDHpDwqiR+Vh3ae+s/CdebJeBAaOAUKFbzmp81toYp3gAiA/wB4dlrTWV1YBXyqkuUQhXCjZfMIE94/bRQloT9iBjA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86419318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwjjlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQgBAAnEiddfWb6AHhNlISDhix9eXCbTWBy14xYjjgWN82cN16PKAx\r\nC4xBQ6mjwZoDOlT+cTrGQQgaFpBwEaJLH7sZb0ZvSINDKl9jqjhhlIRCJTad\r\n6PptGrqvjHTmABAAvEo88LUBk0xeBnV5ci1M3vqEMpU0Tv0WNJvKbk65QYVT\r\nrzOh4lfdc6HLhCYGxL5VJy2F06XdFK2/QlnB9cAkx9gHsFbGv81u0jGomiLj\r\nHtLXyMRL3bH8KxXSc4MhREbULg33njCgFd1j+DcLIJV0tDnKsr4+uSO6XoOx\r\nvA4Eeyc8lHv7reQJpeodVo8/XY/Q4tQRHeJDXiTP3BoL0oHH07b/COXLCHvK\r\n8MZMpMrbqj8H7/0aZnxeMmH8VRF6EDpFVO71WNmZoGKJJv0enDarP/eLmYT/\r\nAczi2wcuZgdVM55pAY7eoEPnoCtT34naBZXaxyCbh54N6R2ghTbIiJHg6M3T\r\nhqn2eLBO+JsvAvjEhocgMSXeGmSvgYWdQA4XK64xK85x27wbKXTrtSf8wG7G\r\n93fXCRQQssAtneM7sjSvgfqzi4y7dC6fjQZlsAjQmNtsZkwR19pVb6FRlMBb\r\nQx2qV7vIwLe2t7/NSwRugeWFSjYH2zQSwdJ5n0n5PU/O3G4vSijJfv4KplH+\r\nfWw+OT2L65PLZuQpw0bD1zQRrMnckgcXz8g=\r\n=B451\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.3.7_1656895717113_0.7103441008210172","host":"s3://npm-registry-packages"}},"5.4.3":{"name":"@vouchfor/uikit","version":"5.4.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.4.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2c2d2c31a0fc95fdc9b625851e4d73d89dc67127","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.4.3.tgz","fileCount":211,"integrity":"sha512-mEYzcvjk2zh8bt2O2VoKihSMU8XVbT6YUHFX8Z1kW4OahIMd+EE8d7aTYgLT7TqwxM/Cc3DkQq9DSkKYf3OiGA==","signatures":[{"sig":"MEUCIQCbGvb0EkpPYqV9rldmrBobvv7nQB2u+RdSmyuOpDsn0wIgFRUxsAuON+3u0YKWj0EgorsATZiE4cNzYW4sCV30d98=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87639890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw84OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpERA/+KBLYVJ2Q//6xOMlMRa/RYIRoW+DLZwjuQm9KtjpKubKpT6/h\r\nYK2/757J2BICNhmMuKQlxD6Yl4sW0KBsKXAwFDkCq5/AXAvAxzyxHMWnFcFN\r\ne/IKXTEBcsx4N9jzTwCuMgPI6KDbNLcqohy0lOnRPcMAZezQRJMyLBlEO3WK\r\nSSNXfUbupI1UTyKf3N9OpSndKAu1sQitdECIzRsZLmh3dN0HvTaywxcVoEGz\r\namlo5ULnQFLFcUS0CCb0v6znu9wIANTF8N6ZjuG/K9iLjn9Akp7+VzxJIWHt\r\nY0OqkDU0qDtM8dOghyU1gMlHlvNVuUL/e42h+g9wHJyVNUVT1zt0sCs2QDbj\r\ndq1f1+FZbWAGEHzUQ8OFxyNAwzfawRFsKno8rkqzkYKbH58F3eKiHC3yDe6L\r\nACH8ynpPPbFfW3IDambjsh4pcn6vhrFuBN9Ag7LO/KiN6SOBcas8XSd7W8Z2\r\ne8YOZysO3wUqwVyGT4TDj1zL0oeWtZvTFBz1JYpuvfdLegZyWzJpD7o88q/M\r\neb72o3adP/EFGK7/PjpD1An7voaxGdd9O+EOgMGnibki34LOWSSV8ECRPUAg\r\ngIFtRCbeWI5PWbakv9wFpSBzj2M7HrKmuuCfwuv6q30WmSvj2y6uy/EOIwc6\r\n6ROiF1d/EZAa3eSXVhnjdYRYcpmBcuf81ho=\r\n=F4qy\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.4.3_1656999437760_0.12238212200789378","host":"s3://npm-registry-packages"}},"5.4.4":{"name":"@vouchfor/uikit","version":"5.4.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.4.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"baa4c9f9da32c59092fb3e9f6d0e47aecfdbd736","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.4.4.tgz","fileCount":211,"integrity":"sha512-o2PMJcMdiP+E9Q7YQ844NzbxN9QNuvab3rmU5Y0AXbrJ8HJxxTiu80rGMsJq43P7TFSALGhaQFykKp/HaV3Nwg==","signatures":[{"sig":"MEUCICw4vc/bcb7GHBZkp7m4TPLWczjDrowGauq8d9K2/+B9AiEAmReLG3v+eWkFMxG7x+hlPDKuIABCWRPQHHYmSFgq6Vs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87556891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw+pgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGJQ//c+cCV5rOfu9utGSNjV/7c4MDgTaUbjm64wlZYUuK/+ewk7Rx\r\nM1yu2M3HT77SZokGzXZxn0b+PkcWls8tWXqnnpr4BsRnw1nkzcySRrtTKunX\r\nxSWpk7a+M/1TW+UvkAAIAa95ErCEvjYfY9YfJYZZx7kBs1zg0h7sYm+hPJ2i\r\n2ykg7kh36nc83I8+KPgPzGnxHF4u8YYKdg0am2xqTpeXdZGVlSEIDmj0N4Fn\r\n3T2RLFV+Q4ZwXKZqvl9/0hUPVyRCDKmEYYZHZYRE04xnTTwCXPtYcvHnwBXD\r\nqTTRk/jNWjGDkvwZQmbTWO+HByrLNjkYHlRxti54db6CcntVnPoHBWRJcHyI\r\notIjFzuHH3HkqXyiEED11qLdApkpuAk1iJyX2lIegngtnJbx6TDBUMr4lTN6\r\nK0PEEEn+5XgdybNpMTGXsahfGhAkYHq5bickJ7D/jrl9Rumh9pfNLC9JwkeM\r\n6/RRC/8NrMS4HbBaCcnaxXOXzWcwKyDjZbTuqcFpoBRK51P0X5xIarhz/WwW\r\n94b+b2YCDjqtHuQIDUZBldPxbCbxWkh/NVFpdysIPvf4vTNzs/DiJOl4TwwI\r\n2jXGXWpoNkxxAWF4IEoDE/k2j29BDTL1tlcHJYSSZ+8rPa9xpQgQkXJCh8vN\r\nJ9XVa1ztROE/EdSkFHxVD0Nb00ZyUcD+4AU=\r\n=VCtM\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.4.4_1657006688294_0.04478865374021401","host":"s3://npm-registry-packages"}},"5.4.5":{"name":"@vouchfor/uikit","version":"5.4.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.4.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e0e0da8f7a9f6bc0494fc24e4268695c33246c8d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.4.5.tgz","fileCount":211,"integrity":"sha512-JCSeyMEDga7K/Hr1Xyt8QZHGH7N4KkGiBsY/ra7It6Q0ccbtdP9UB6nDUd61gF+afyRdlPKvvZBnkgd46lbqsQ==","signatures":[{"sig":"MEUCIGVjcTRnr3uhJL3CvoQ6dJT2QV3iLIfzbl0mMvUQ45RKAiEApAd1VYd1KZooicuAAPI4ZV5bu3YV8siIRDWDRtdN8yw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87661673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixOaHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZfBAAlgcwX6+urKvD/UB956/Ogwrtdgt3mad90bRAy6tKyyBnPDVs\r\nWBdCwKdu188HFnTdYw9xhwi5IWeJ3pnkS8KZHQh0hRUq8jO7bCDw3IUxaexj\r\nFbiDHf6nRKWg5ZFWG5V1j7T1fbavVjlbLWFpI4ZOsnPxekKM63vZ2T8eqK3Q\r\nwJKsQRQ68IUDbznEGgDeXfDQOPPPtgdyZtnIieMRAmfDxADdkkiA1F4FmaKi\r\nyKfZNzcc5G8xzmbg/Luxdqz9C9PlI4L0n6EvcMtAM4Rg1ic6RAoO9eK/OwiR\r\nFGOHnx5YGNU8SmQBoJVhoy5UfbfuyzEGoLROaTuYk94qixsyNnybLevoEGF4\r\nyeKfaR777PRVd82U+ahQMBe9g4YUte5MjOnaZLiMrbxvxjhqXRJVc4en8W3T\r\ndEuPKChjV2yFfIO25vkmsJtNVqg5g6n5y8+KEA7hHMHP9Qlth47nw9ZM28JU\r\npY/TEahaA6jIRX2QiEAy81vZWoS4dan7G/UV2uHRozGh0/B2Qh1zhksqCEf/\r\nSN9uSl3M+Nma5uVHBPrhWwd7uS6g7x9ku3aDRSFKIdgey/TlLscCUe6UdHay\r\nYDCp2SmdX2HckCmuSWmAHemlhlZT6sYZfOHEHznIlZ7WOjGLEB43x9JTKz01\r\nRnNZ/Xc6+RlbbY4PjQV4o1XgvZvYKYkRl+0=\r\n=dk/d\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.4.5_1657071238665_0.5009002143707255","host":"s3://npm-registry-packages"}},"5.4.6":{"name":"@vouchfor/uikit","version":"5.4.6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.4.6","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e19f5134c9ef678565e55d89c36f0512df6c46b7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.4.6.tgz","fileCount":211,"integrity":"sha512-RBf0vf6y1A4gajPeXp12W8Fo7uKvR2Q+sbzHgy4fU75xia3sr8WK6MXFcEddQ7JBx0hOMe0LsEZQrd5cEN6n1g==","signatures":[{"sig":"MEUCIGLYaCMr03PwPVRtsu7wsjKUSX2Lvl7YALN1RVSVab8eAiEAmWYIuPNKXo2itadLK6EC3RikFqU/IlJWsMO4IuBSoac=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87744672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixOb0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpahhAAoQqQFkIOtYNjeHgm2hE/h6k7e4IGjhUav8iMPgCqzTazbE+7\r\nYZgsFQ6zNpvYkt7IhTPfhdeZGGCrtFAd9d0MpBW/p74iI33lm6HZedq6JR4e\r\nkY+WwMmScti1olZEJo2FWV5Mm0nOO1MYL5t1PfWOFGiNHPgzhIcK/cFX7+/+\r\nFNO2HOwXcp9J18tBT9U90Eudz66S9jSijPxzSVTxXX8qfLJQ4F1kNqtXGGQn\r\nf/4yALWL0y91bkrPjFPao6g+naeAvjUSIHhW8+vKlchI+TE4ccIh4CJ2AtZ9\r\n2TP/bm0O2msYRzPC1i3uGJB80uI0XMQRk7ItkR0f9w7fqfsURwynJ0yCzDLI\r\nHwvJLUtO+RsthAxslgrCRRUxonnRt7kjEUY02ee/LL9C3otLaQZaJA5rJr5A\r\nUPlkxpWhqtlcwGZkXZXwssc+gaOv8BE94v1RPDytb7vwFsUac90NmY6l5WkB\r\nqT3opnitDksMsFF49Zh5b1yG262x3cQ3aGqE3zffFBt34LcDGEOZlb8iDV7Y\r\nX9oZ90UyEQh+fyI+uFMLG6R8ehxzYJerHRsd+4Wb/helF7DjPjbzBCDb/VJY\r\n4logE1p/MRMdlBLxFKe/Znz4TcmSrpGuK3CP5T7xkOwj1pP6Kv2B8seIQKIF\r\ncEhM1OkJ/5+tOd4T201rmwmK+1Kj5Y3vmaM=\r\n=AwqN\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.4.6_1657071348351_0.40296185585097777","host":"s3://npm-registry-packages"}},"5.4.7":{"name":"@vouchfor/uikit","version":"5.4.7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.4.7","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a3356a727689920fac0dcec55e945b44041118be","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.4.7.tgz","fileCount":211,"integrity":"sha512-2TsRINZ5+iGhdH4NK0ZDMLSyvuEdW6Ay8NTrNIA2YlBclO85Yoc0nY+M2c3t4ZjHBcPX0rie4ecB+Ai5v/MQIg==","signatures":[{"sig":"MEUCIH5CiF7dwaEBHrG64mIfo1nxXwAu2vWgzbZcjEV7BETdAiEA/XAXWeMUMj/+w7mgjHTwFm8fauh3r8DYiMVwC9ZyFo8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87743661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixRqTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9NRAAju8V6BRqwTHHlb6IrtifoJVP8QxjhylZeBxgjriZUwRk76FJ\r\nF6F14j2i8UsWVOsTmSTXUh4sfdfw5DQhAcyHAuaLIs25N4CdtqS0TrDK1279\r\nk7+j4Az/mxzRkU5IMBhjkVDxehJI/uOddnEwrWS+eb10eFdtQkUHTwmBjn62\r\nrfmZaUT1DWQtevcYQe6N0kkBXOUEmArWP8vaXcyKq7/QkCalSLcJychjAzXL\r\nMg71xAh8jcGIP873Y7j74O6zHJrHsV5TFuMmL1eOgh/VjCWYlaOJQTpbnEAd\r\nqBxQHp98mvJuM+AoCfgbTNSomJJDm0aouwHXHPtmuiDmLPKvROH6umiVbp+Z\r\n9JDDJ5VTjc+HdVZMPbPT1Q+QqlUJdz752DBhW8wmV8iiaWHJQ/Q1j00wrtkY\r\nQb+nUCL3yGkLX8bf8RbLxxv6kmjVO0OBNpVbGsCKrecTYO83T4zYCbGkXxQa\r\n0OPU1NlkhS1oML3Qk/c/SM4mysts4JfIMm71/AVA5Jm2xL6CDApxl9RLd+8O\r\n8CRFtQR2kUTv9+jsbe+xXRD9iGjKWAdX+ZkH48g9ZySR05va6dI5UsOdIBDf\r\nN2lq8zvyZsPTaqL3jhyYEEiLd4Fr6DbU+7KVvQZuk6HOr45kdfs1edjLrIj1\r\n2U0lMLiGrSucPAjNOty4fKw/ihvr90YIe6M=\r\n=7Hgd\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.4.7_1657084563422_0.9817173422080225","host":"s3://npm-registry-packages"}},"5.5.0":{"name":"@vouchfor/uikit","version":"5.5.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.5.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b4cc74867af01244eebc70b05550f2368b84678b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.5.0.tgz","fileCount":211,"integrity":"sha512-fqzaDBSDNZMbfhg3fd24qQ1V5zJ/tXQ51lFYOuG7DQNkZ0NC8fqmdnAvxDkPCqbZvB0BHkljvn1AEDPfZCRELw==","signatures":[{"sig":"MEUCIC+n4DR2Y3RwbQsGCQZe9AsJyQjP0Ylw9cWobqXfICfSAiEA75Yjry72p7DXTZzNyDlf2R5LAiEAvTMZqd285HlP3ys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87788362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixmjoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqb5g/9F3I5789v1JSyaFPWED+75ykuLOE15ubUprdT2SWnxWMVsZwE\r\nRQDPJbhsJ8pcfwfQQr7bO50sRKaSwPBdtRTRMM2zVA5DQT/1tYb5eNs8ApJI\r\nCAvy6hQUtpybR9KA2bBDoyDAR8TEhgt9v8QGn2nmgUo8419dqZbZBsGsTpDb\r\n/puaVvKvWEMofbzx374dhQvvoVkxIF9jNLofJEZ8ijZCcpn7z3Je5+jMRoqF\r\nEAQ2T80APvkU18lYQ65TRFFpmLD9ivtKwt0oEdcjTcHoz+AQa1T5C9nZv0aH\r\nffnk0W/1yTe+qPLt9c83u5VMzQdLCWogw12JqlYpH32/2quRb9MGs6JNhjCg\r\nAMi26Z3dHs5CdJs/I71YXb+1eWxN0g56OJkgzL++nQ0GkgsLdVt63IqBPN1C\r\nNLgfNakYbTqTS1+/WERWPT6xONbeEEWCC+Y93WNKh13U15cTwBRuhFI8yfS6\r\nziCfU4D77Vn/WLPVfTTWQdL8/uNfGMmQgTA5ThkCsKbmxjb9/H3DfSNIDdLr\r\nypYWp7r0UD2zVeFwnxoFZuBhwuOFhn0XXOVvzz7Z4uta97ETA55wMMwwxTR7\r\nx8jAIalXx1WFFEH/ALxzjYItPc/cU3ClCKn8AGE6Zdh+uxgt1MsYshYocNhx\r\nsj84UtWj5GACSo55Qm0aU5xASY+FznH77NM=\r\n=Hefc\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.5.0_1657170152367_0.5212913191230868","host":"s3://npm-registry-packages"}},"5.5.1":{"name":"@vouchfor/uikit","version":"5.5.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.5.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"9945bedd084bc8b1c88fa2eba96997fa753946fb","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.5.1.tgz","fileCount":211,"integrity":"sha512-k6sT+8tbxRWXIFT99s1qc/oGyNvRCTj+H5zBSZkPX/FYUJW1F5T5VgFnpHAANNI9OCNHc7DsBWckIe9S7mKxdw==","signatures":[{"sig":"MEUCIByp00fMruDxv4qgFq4LMfZggMqC9TvpAvaPnddprmyNAiEAzxiYUcDND7uqaYzysCNEVhbs2zhwZK9yWmoPYAzNKlU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87795889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixm6KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkKA/+PPS2vFdk6GduqErPIYxjVGmvN+u7DDVrm9rjFEbnAVlfe65v\r\nDWC7p9z29zp+RE6aH6M3kWgIGT37Up+N0XRf5AOrN1+XDCJtIszLJj+kLUQq\r\nXd+RmbKFx7dLpLo8aEtUA5Hmt5pkY9XYiC0elQyTEQfgrtygKPavFqZEA7FY\r\nLb5oafOywWISRHulcU8z1byyMP18yRng2tvTxHh+6NjhN88PU1/k1OZqXtpx\r\n7Lt8tu5Iuf4lnqoDPz4nmPSDIsmNdovWZ5GcGExMzGgmMz8eQuOjivSdr8DX\r\nuHiNVv/DfInuwzJEg1KyY7DMwYHCfNB6Lh3rZj2uGUX8vUVpHoTY41UdGhnE\r\nVI3Q/8M1z1lbQc81AaooUzMhDsjoRMEDkhumvkX8D9gK2DTo48fTW3KrwOg+\r\nycbZDdVqLzhQQML/HxKqzb1X1bTn3ebY852sCOHu7opTCQg1b0AgLjOxPz1K\r\nS+UrRU316FCNSh4C3SlgcCaPNAdL/ncYwgiZj+9in60lBam5wkoBfDbIEXuc\r\n5/XlewaxlrCq2YVwUpLniL9nAfqX6zj4IH0V8W7t060p68pPyLUFFlYu38Ge\r\nW0/BrpFmgHu3ROgsCWWNAI9DndSqHpASDcn3g8Vfmn7B7udVUFaLxgdSH+6N\r\nhIcsd4SqMS64J3tb6Rf3OgUuNEiYqnn9pSA=\r\n=ZUMX\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.5.1_1657171594177_0.22990304549848517","host":"s3://npm-registry-packages"}},"5.5.2":{"name":"@vouchfor/uikit","version":"5.5.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.5.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d5cbeef86402a327885384c30b2cff6c3c8d756f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.5.2.tgz","fileCount":211,"integrity":"sha512-VPbhJ/+HSRcsi7aKP4Vs1pXhuVRC4p5x7YEi3jXhaOrdtn5hA3UWyA4JOyGDlqlf74PlzGJlKqthRwFiSCvtiw==","signatures":[{"sig":"MEYCIQCNTu/BTg74jA3Tau3ma9dutE6sIzLsqJmSKpVZR5xAMgIhAPEmZM9B+MRaYrp4xeidhlmbVNEWA3eaAlEaMWOSxSHF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87727831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy6Y2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0Aw/9E0HBBRKpDmueb91W+ZOCxZRDjoDaUwaNTrEH7DaAsrMUQZ1q\r\nn8F9fO8mT7EZWY5VUzwVa/v6xS+1rXbnqiZZUWyM+ob2Tod7YHVYTYuAFKA0\r\nkS67Oa93musTvzdjYPMZX8BWDI8rL283utEhWeGl0EIdsyHky/NeaYNCB/Iu\r\nud7tyzC5WcXoWP90+NIHmy/CuNlx2CeuF/+V5rjKSHJ3e5QgXHN5h3cnHKwr\r\nR4z+Ay7BYrgv+9E6i4T4ANOmLhmKCWmkMacMSYBk3ybRO4pyl6I0fTXTpa8k\r\ncUIBjojkvaXcwrbLInWoGWpKBt3hf3Cq5LDHIZHbE0TaWGSsVqv2MX2rnVW3\r\n759nQOQ+9ebPR56Ho9in+kd6ng8jhBJPU9CcmYu1zqHKbZQL6a3vprjxAndo\r\njg+THJ6hu36i6LVm8ziOG4jp16AXO5eJ8a8Pmg0W7uBz8Xto8c3inQXR8Frj\r\n69E2YVVHdXwY81FF/yK57o2y4od9ys+KUYTfRQRVa1ID+PBjZMUPeLWo3b2z\r\ngbkmqPReMNFxaDLeLthVHr6I7evzvV1FFTb9Aex9fZLVoSIupvybQDuvdwyf\r\ngLhC6JeWOUvolNno5mtO6BY4YK95YGQ2nPf93FXHSUuthTQkokXsLvqJWyEe\r\nxM0CXVh5vW+luuGJuNWygfxfhkYIz66NpXQ=\r\n=XOPC\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.5.2_1657513525380_0.16551865083447415","host":"s3://npm-registry-packages"}},"5.5.3":{"name":"@vouchfor/uikit","version":"5.5.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.5.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"867cf8689e83c3a8a45fe3274a95a0ab34521bd8","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.5.3.tgz","fileCount":211,"integrity":"sha512-FTg80Eq+yoybyGXoZ8CvoCsi+z3cZgREl8kJV6BqV4iLevC79sfO8AThP2ehXVt9RnqEb4/QbF+4HCjT27phEw==","signatures":[{"sig":"MEUCIQDjY3EQZODffxDM9fsysKdU34UKaflqs3xjGTo0gBOYRQIgSthW/2ZbcyEmGwptV7Yr1gsnUgpQvx7/kKy8IvWhzdo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87843257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy6azACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0/Q/+ILareai52p7il6BR39UcSt5XjOycZLbUElf99aDc6zn1Gqez\r\nNOG6omQ7uKNPinUqBN7nxW+0qLu1Jh7aK3nzf6yiI+iavU4pCBzaFDEu55HW\r\nT+zknLqDL3EoVbU0bJ6W3sLW+VjjhWgL1EVbblSL8CHKr3P53m+sUhNJ014+\r\nYP7zL5SmKZmwcyrrwMb9rk1IBQxbIO5OqahhvT87E3k1NkrPioHM+hgldGfb\r\n+31Tyz2JDGbGm9qwVzKs6OPQ5SO93wF775yur6quVbiBHn/MBxTcIRF1OEJp\r\nGsB5fFkaDFC3LKhDd3ztSeN5m6kkmWn23aiB898zmax1pivqS7UiFTqRZ1MZ\r\nswmSpN4NrX64jo0AldMrvOQjPYv6QRmhunaO6ueEk8ZmCuqVMPzy3af7zewA\r\n8RJOX6H1k2gfZUXfEZrj9KjoHK8NUe75ZiOnFzVSkeTrTs1Kx/98XluQdDEe\r\nvyEheyYyX8hoMDEYBhWD4rrkE/KUGoblb4qt75BSTsMw3bp1cT5ZSgc1F0bV\r\n5gUoSywtieX4ponorSw5WgLp7v78vilIeyLFbZlbnxLUbfE8G6EGw7jhLO1V\r\n7OfvY65FaFwKuzbxgnY1XQx99W/PJuzIHxa+Y/Vzc/+RDKOCxaMBW8RZ5j+6\r\nPkYorEzwy+htH0Y5uTmnNx3+CeB77ABxesU=\r\n=JV7Q\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.5.3_1657513651187_0.21017103063535303","host":"s3://npm-registry-packages"}},"5.5.4":{"name":"@vouchfor/uikit","version":"5.5.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.5.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d1c00c83ee332dd2569c658bbe8e08febfe56ee6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.5.4.tgz","fileCount":211,"integrity":"sha512-ktmDt5vDP8mrWXBI5R1JjMtSI3fGLiXJog/MjRzK3oLSSNhvHCpvCAscEFW8etfVPblz2wzoIjxfcxa1XDAVBQ==","signatures":[{"sig":"MEYCIQDT2eCk0IFcEUfJ4V+fbamgxH5zRQ4+Bcb5Pp7WGliO2gIhAMNCzKkgPQZq/IKD60+HzPQ8fCzKzhpRnX8Ct2rIDUin","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87846107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy7uAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBKQ//XBaYzSQH1rlldUtL0JJxgSedvzBy/zmDZ86r0ZbEqPg8l0me\r\ninKrznBvqP+80cgO7xB+yZHkqnhl5ayLRI3ej6H7WtTdEyQSABr175yn/64k\r\ne1teseu5zn1lfMkRtSklLsCKPsczHJbf9baE9VVuKdPiwUlFFbyrC8xp65Rs\r\naqVvxidP4NkZEzYmA8UULfSdVV5rSrzGLiyeVA34540y4Er3naNLx4scV6R2\r\nI9q/vaSfMD3y3LgsGRnUjlwyRo/gQLkuldC5gGMXfYvIFXz4lq2/TPUuFmC7\r\nPVUhSHhKyw873eq4zLCSOP/w9KKM9NnLxEZj+cA6p1JWewazhBlCb0LAS55S\r\ng3wN2aBjC7QEZWOhIqY6ZJ6hLfCOnaAYWNLpzDKEQcKMY3X5eP/QkLnbUrt1\r\nzlUGO9pmQhhz3a0B1g0NGL8+RMrYmr18lEbIRb4cICgnt7XYUrCpkkPzKruV\r\nRe9ifeHNyqa/qz8jRMJHCyQR7ZPsI97h+Qi22mp7745TbN79nU5GGVu8YOpX\r\nF5Kk4JqdHHQEVhJiPwsCotwGnW0OeRei5s9ZMHZGTq7T1lxwF77hH6p2YraI\r\ngBvDVLY5j6qAWdFDLbXv8KX7ce/LfL+9jlnJVxTEpENh3dbKT1BRW9VL4HRw\r\nkdWEhvOt2w8WWamZng5kBs6VKQUeZSCZ7Dg=\r\n=aIf8\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.5.4_1657518976193_0.8050386811554837","host":"s3://npm-registry-packages"}},"5.6.0":{"name":"@vouchfor/uikit","version":"5.6.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.6.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"39e1ff73bec2ef5a616620c2298e86695e85347d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.6.0.tgz","fileCount":220,"integrity":"sha512-XEGoeHZKLvLRqvs8ORKwIUMxUpaHGXQLeBjWyYvsT6eaeZXkZdQ0aV3Cn8kezPxXnTiVYv7zj7Ymd4umH2h2lA==","signatures":[{"sig":"MEUCIQC1Fqf0fEa0EVM80GWVwnVfGZ5iWVYkoqGkohTJjXtdHAIgPxwE8erAmDPgyPFJa+Jmmz6R603d7h3Wlr80RiN5+sk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97604327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizoCEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpbuw//TN9NIuvtqlecDDRHbzJLFb90WrTSINP15lQDc+Nek8Bvo/oc\r\nrxkydXW7ADgS9L/HBzrt9REwaKm2ySkgRPTMMiwqEVPQYZDHi/0nKz1oz2ff\r\n4/qYxgQ12L+z/QdhLUbcUXJosesKEudOCwQi6Qak/e0xGQ7M1WngqOsTW/CD\r\nV7Zji6ro+timsXH7a2YoiHUVdx9COqp13116aoNG00hIrlZsbES3lWxnEhaJ\r\n0vb87AIgEBmChgdP+1xa5Gb6yWLd2j4rtviljmYaI1Eu4hQuZM1IvH9qcGGI\r\nRy81lSlOgM91lRz7OOiJS1ISvLouI6/R2g8ehnPMaLg/hraPsKiMzzblox65\r\n1uxMDmtdxYwEwXjWWEZaKH8vNDCCVoIXUyOYPweu7sEHLpRm/B5Druk15s7+\r\ncso3NkiQFRM2uyo5Un+Ar0bQoEULKZU2q0f8cfHRSNGrgHcoqf3lZtflCf19\r\nWGydVD7nkdyzfe7934Q+11FqdQTwPSVnOZzePoefGIs9LLiym5eb5ODRtTYe\r\nfO6qV5jPBMXn+M7p6dBI5zRvurpnMFNmTt3pPAWO3Y7mr+wOwQM8ZbBMhEh8\r\nCqHi96J7rE5wQPXswaE6t1yu0Ad/whuMwYqJ/tZXtd/CaBA2r+JQWse0M7ih\r\n5Aomu29dW2NkZYO3RovH/ZwaEi1mq+rskuE=\r\n=GxGS\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.6.0_1657700483624_0.8429504954237257","host":"s3://npm-registry-packages"}},"5.6.1":{"name":"@vouchfor/uikit","version":"5.6.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.6.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a90dae10c4518c8786fa36d86ebcc1857625edf6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.6.1.tgz","fileCount":220,"integrity":"sha512-VNa4X2tyXNmBYBolXlT7FmMcO1WgPbyKovXSllVMFN2BbonvJf7aS6/D7Xu+586d6AaO0xlM6lohO8Xtkpe5ag==","signatures":[{"sig":"MEUCIQCeXM6x+ghvEMYKIf+QiTFls4gX+TtBrvN0Soig3+5NaQIgWVL+1gjYSHLIpQuykBj8M79CrbxRNH/ENkXEGri+q0Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97744100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiz3JZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmokiw/8C0MzRsFYCThs6bvqA6CRdoV5gTNIdbwCuAWMAkkdh8FrFetY\r\n7KI7chNRVTPlFwOOeCrHGgkvDnY1uybtJNTVWB2SN8u2K8sCRvTFO78tvaW4\r\nU3F6WwktN1bq3l4DHitz1z23DwAYtwIlj+DJjwyz/pcUtn2InTDHokCVdUjA\r\nLGmU1g6BNiRmW/WQjFPF0adtaYR26di4T7EVZqCTyI5zypSRV85Umep7hHW7\r\nFb/dYVte5TJEicfsiIdsizHI1G0zQD3eDt/av/J5o3oMBza6rBE9SEbBYcwR\r\nxPZeLz6cgHD4asQjb3s7kOhGe+6x5Oeqrx1CV0e5wlZ577UTuod8KzR5G26j\r\nrDwLHJBvEYEzXUjIqSQjEAkWrgaqGGtSnCre9ctQJefpmDoqyH5OPnDAk7Dg\r\nP62pJkZhWjewzK/IbPtgZLHNfgoDyp5nOpz0HGJDitV31Br84ReuB9IMICpc\r\ntwiqvUR7JjZpx8CEPFre7cUYRJPws4yndp75Dz8bqZ87ZPmsRITr9Heri3be\r\nJJvQEf8KXh5ioZ52KBCWorxAHZOzT0KvExFZprBTUKQbK63JAcsnVoiO/nKF\r\nkic80+HFZj1J+p8MmC6zQc+qU8CzRsKAAsIIOlvW8A6bFVNy1KJf+X1Ytx0+\r\nQ2v70o79M/xIeWybbcscBgQd/SJiqTIKG+A=\r\n=ftlZ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.6.1_1657762392544_0.11477876145184318","host":"s3://npm-registry-packages"}},"5.6.2":{"name":"@vouchfor/uikit","version":"5.6.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.6.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0f44384decafb85c1d8127b0b1db42f6eb6ddb7b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.6.2.tgz","fileCount":220,"integrity":"sha512-uJMZiDf2CJb2CnTXxDnONnBQkcQbprw6LTkTaNluSYVkf0zFJ4PyaAGfRdCBMtwQwe6TumqkV37zsGysWMhKAQ==","signatures":[{"sig":"MEUCIEh81j8Hh6wgfBwYtR8jYv5AXPHOiWDPfJiwi8Y4uRFJAiEA44C3Dpejb9a0fDAWn4j/hUL5u3mZdCpovXLw4ZD61iE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97746927,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1NSeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvFg/+KzkS3igcAF85Vclii8/mCHJPdZXe+lwnAs07emiQfnqUMIv9\r\nkECrkS6Kx/ryQaH72jiAQX4Peu/AUK3JlVTLpmO+JNuhl04LDr2v0GcEqsoI\r\nl3uR2ijPBwq4oPOW298DPCZjpBuwwXOD0gsa+NR0AjkhNfK7rH3WT+GklChn\r\nshW8AbMFspD7QYqb0KQl65q2NYhPRFTL4IBjdxg0c8zsLJhnP0tKkk308P3L\r\ngLNiyKdzrG7OV4BtBKJFMstJDBsttjxq+BZXs51EMnR/i0pI3uICPGdzB6SL\r\njXqq1LCL5QaFeQNsDaJig0zjH24RoZLZIKtkHvy/A3sobt5WVFcUhlDtMBLa\r\n+/l9jC97wogIDQxDM0lFEsn0P7/Cv/pRovY78kJCEihz07MGP6z8PV69ISP7\r\nM7ivIKsJadYH5f+QE7PMjHhCA8DXNT84YT9g0rTuT3USQhlCoEwkVpuVFU5a\r\nIrhPV2ilZyxMDxA1kuLpSFf692pGffw4/TESgKwzpqDBIerdklaQko8Lkmwr\r\nDJDzX1F8lVYbaMKA5ANk5isDt3GMevixwC3XWSopzYjc5OhZCtHRsqu/Tw90\r\n4wcTm2OxpV15S1+Hi9egYCOyI2iLey7raMpxebTUyS7uixLHuerMCJAq7DSO\r\nQRMYwUd1IymQAfr5VAP5AEGn3JIY3GzCzkI=\r\n=6aod\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.6.2_1658115230350_0.8747253649664772","host":"s3://npm-registry-packages"}},"5.7.0":{"name":"@vouchfor/uikit","version":"5.7.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.7.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"bc7b62e6f807dbb30e492ebaf8fdc7bea50a84f5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.7.0.tgz","fileCount":220,"integrity":"sha512-0uA4P2z4T4XyJNsk8J62TnXeF6/oVNvgsIDu7GiVNtRB7Mvhp5fJ5zMyXbn2HDyAJmtsIly1c0rWDJFSF7IfHQ==","signatures":[{"sig":"MEYCIQCieDwI/L6Tm8xx6n8gfP4lGbEBxUukeAKBv3YpnHZcgAIhAJyh2Q7h0O5X2xtdpuBUGP0gBvp0wIu+Ehj4Vpm/f2RD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97621824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi13OiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDKA/+IyRuaA2PDuO2dcZtVSWW48/AeimT3a4SHH17MJVmw2DEymle\r\neuERyAnJRA+dr+YibYUEDee1D0h7dlq5dnCCL8/ZYBB5/aFGilPlWDu7qAZy\r\naAR7KcFKBxQbHWVp/SggKNT8lYFmNPW7WhWK5wLfrjlQ0RHjr8LM4cPlgzdF\r\nVMpUqmCj/mfWeBendaP2FMOm0uzkmyiYvSQ7L5O/N9NeI/w1qAgNbBdD3r/0\r\nRVoJ8IJQCguVQ+ib0WlKSrXlVJkIKzq9Sr+Gm/FeywIUumr1agqOEDRWIKZ3\r\nU3yrkkEGmXTGJ5gEMk6npPof7ar8fvS3G4OkxIi++t7pMLEEZ6MZheu1wd0O\r\nw1BZ/OOJPyVW1YIyB2u/B0HII8pzzJZeXwOT2E3BbGPRpLfFsVzIUS5KIdv8\r\nHTe4991riIAm2y9L0JiyTXcYc9TW3NlS2eV2R8QF8ya+3M6wNC+Z7UjI4450\r\n2J0/DCql3TrOaigDNvU1uVFFCUdN9V5fYg+9H/hj3VHubYfLuOp3Jo2OU5dZ\r\nKwIQUSmJRtcHZMN4xZDqijMVd/1Ot4FbcML3s6kIQfRsEdz/YI2cgrzf6pPM\r\nlxWSLQISfkwQaYr5W+H5tYCBwlzo3iVwQcp0RbwEybGY1/cAQlIIQma4dr4m\r\ncIOeUKSW0Qo9k6ces/FVC67Y4UBs8q6EKGU=\r\n=guO6\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.7.0_1658287009678_0.14611296526459627","host":"s3://npm-registry-packages"}},"5.7.1":{"name":"@vouchfor/uikit","version":"5.7.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.7.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c455ecf81107d3b3c6ada348eb597cbcf599cdf5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.7.1.tgz","fileCount":220,"integrity":"sha512-tGWgZ77GdFhXJtwC5NY9abIH+IpgZ8eB/6qXJBHC08xlVqf7XkaUTZ3+ZGu/999lKB97J5rg1baUoGK08BUpag==","signatures":[{"sig":"MEUCIQDG6jioovyeLExXEabr47oLHy1a1VzNgjUaI/zCQTvxqwIgbDcwbtOWU817kufdIw5En5pEN2MkCahdMShXrmt0TXM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97750014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi15RHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqoDw//UVkEzdkuCsqUTqGGsDVUKdC+E4iVKKdPXPSHLp8BvUpKdgsR\r\nLUZULpPZFPedfaqPX1JlyJfzOIMz4YYhgnYyCGLT/q/6h/TMM2NWKuik1G4q\r\nBGB0GO2lu+DgNFPLHU6fiNgaoA4kWh3Qz0TX66alj1FWdMsMFKozMVl80Y1E\r\nzOENTKRdBIbb1feU1u2V8mlrDvjt/rUMgVEMOeDqXnIbLxQRt8Ha4gTc3FZS\r\nKWL4p9MoTJqvtfqutpcBDTKM6UApfKeagNml/Jqfd6TVw0JhB2o/NFRw7jSI\r\nWfeT/MVY8pUUqZVSl5PvZ4X4y2/rxXwQVpfCQjuv8ErhpqfEf4PdGI8gdIri\r\nOIqrCVDyM5jQC4u0IvhlVLRrcELSFNaP1iar/Z0H/govnxNpqn/Kx9azQGSe\r\nYilZNHMAPJ7PX7IHB87gQPQnxQpYqmZCv7OsY3jraFwXVi2HlPRW6BRkVrhs\r\nzDDyOywaqoyrSJwPmhWfwxSWF00cypyBbvzizQdEGim4NwdOMyN5W2QHI2Qx\r\ngMFxeaNJOfdaCTerxBVhQkLFuVzqe2Ivfqvpl7QCeTiOHTxgoJZFItYUicqd\r\nVMUkX/3NYQ/rHU4dLArrdg3uah0p/gpzo7GdWvlhnxVr8on07cxHi+xdYbre\r\nwcyAz2a6XTfNpADDT0Vra7stHrTlhvF4EhY=\r\n=IzYD\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.7.1_1658295367062_0.869786308517905","host":"s3://npm-registry-packages"}},"5.7.2":{"name":"@vouchfor/uikit","version":"5.7.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.7.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2f6fa302936ff5fd3e5932f4f9dce159675787c5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.7.2.tgz","fileCount":220,"integrity":"sha512-ppGXpNiBxGGhC8EEpXrXTxmmlw1ZxnEBxxpWxcQqHUwDevplc47afSrL5jkDeuTUXIfkWe9y/jBL1hvvZaunqg==","signatures":[{"sig":"MEQCIAMcmt8XJCkgTrmyOmDo2kV6eKFCfDpSEtb+dAe552PYAiBxk03L+RayFiw8g4c3faZ72nfPHJT46Lj0tcBJ/IOB5A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97748895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2J7PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2lxAAnMyJYw6PHUDr1au3dUGcp/G+cXL0EHuFFlvrSYnwNLy+odwp\r\nXBFUhkj/pe89pkavY0q1yYLuigbS0sVPqwsikv6W6eV2PgqjgENZZnHx6H1I\r\nlacuybgCihrom0z1d76hur1lAz1P1kkOLC9K71Z1eKeSWAT+nZMJ5oIYYE6r\r\n95TUo4wYPKJ4E0hxOfyIZT76d2a2DvXATftlkmvY53IKyLgq8Url9oFltDHC\r\nXlSJbTsU7zXmnXUL/8oCnEYh6uyT2nXAZW27/M0EeI4IFMwqYgLAtZiusTS8\r\ntn/6L5+2MZUPCYgggvbzfTiw1ghMt+3yWlUvFYXv1SrPW76sOOrA2foo7gFG\r\nBrbcTqK+mALec4SG71zAeHLCb7qtpDuqVCumO1uJ8z5VDkUaavHuys0Kbh8U\r\n7gexu+ZS9suBmNGNUOk9aVXp7ynVqzRZV6jNPgxuv4CSrJhhNQbez07hCIm1\r\nApzSUsEXaBUvzg/fnwwgPnRhfwTEYnVm4vdfPsA4r82jdi7B0yPcSSEzIanc\r\ncVwoTgph73UR2J/HtvUt6oOTjuc2wPYDC4FlgDKMJtTT+J317Q9OeWhCyNsL\r\ntSCl/wlls60Jlut3QZVuO3Uj3DZo5iMgERkP7iBVXmbjPJTHUkgc0n5BGICM\r\n8uuYOYP0EzHyj72h39QZ7FxEctow4+2aRf4=\r\n=2Cxh\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.7.2_1658363598685_0.35026487444244014","host":"s3://npm-registry-packages"}},"5.8.0":{"name":"@vouchfor/uikit","version":"5.8.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.8.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"cc09dd94e10dc354f79dd228ea7613f4173c681b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.8.0.tgz","fileCount":220,"integrity":"sha512-XgmiWSKxjZn8imU598dqGofDOH86ylLIClouYqKGF6xq4FIlXv0bAtINIh0VwyHkXpUjjEh1Q+Re+J7ZuNMS9Q==","signatures":[{"sig":"MEUCIQCawub72KIlsTcNjepB9uTNVS04prGitEA3eiBGX5HC6AIgTfgOFLHVcwfslrMeR0nFpQqfbPvZ1CzFxb2861IqAIA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97646224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2hMeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqi1g/9HNU68fkTk9wq++ckOJGvx+zHncEiWLHl32T7/AjNU8jL0oXu\r\nQilSf1H4+XkL0qTWDAQ8bTxJn5oE3/DEyr4rTctWY5XAALD/tZkJiRaZaWeU\r\nG4A/1pgKQ/3pFGmYicjJyBvflYneG90wuXU7z1Gm5pZu4e1GpsIpNuTPt6Ax\r\nRBk+1gY5UUTJTeuRcGhCAWTRwXy0imFs3NiUmxF5mSMxkGXvgvS7ELtEtIZG\r\nxtw9FYEAlr5FBB9clksDAPKlH0uUeTrd0imDAkudXm/RW0B6Vq0BzQ5HD0ts\r\nhenE0Lu5NJ0XgpCiD0KmYSa+cyvxOR2OXQVlnPP2wQHsx3ULPHQntlGLqns/\r\nKHFD968Q1hW6W9sHHxhC2uBi5QYPCWjRxudUnyZ5BOqsHikJTy76LlQgPLCL\r\n0dflrQSERanHCrXTCr4e2U9Y/91iiIFpWU23FgrHGwQDHsizNyPiI6k6vtSr\r\nEDUVok49PlJ026iZ7iyWKhC+koRYI5PZWgWFg+oOutb823EXY3zWbrkr3rlq\r\na+KywEI4DhEql4I1kTy1c1+SDpT6MIsV5Um1QvknWSAa7tNbVEvodYkpUmOV\r\nKEduqAnrh9oyp+attzKriLVLXgy87zLVbi6HfWUPLjflhBGxoMIoigW9+o6V\r\nif4XdN+vkIOrRWpg/FD5YLT9vCOg/3wnAe4=\r\n=l/fh\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.8.0_1658458909470_0.006335285859496276","host":"s3://npm-registry-packages"}},"5.8.1":{"name":"@vouchfor/uikit","version":"5.8.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.8.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"237f87e501d92b62ce32024f653476da43c1b101","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.8.1.tgz","fileCount":220,"integrity":"sha512-a4OGXxV1zY+1lfW2jf4IaoIb/Tf1S8eB9BJSOKRSL8KSLtl4WBfDvgmIcTJbIAtm8qsoJWs1mmHxp7Vldcf8Vw==","signatures":[{"sig":"MEYCIQCRecBt3PnYOEA0xh4bbFxI/plQ7Im1yInDyDZ64ZzSnwIhAJ1IhiIxAXe0aRCRjHU9VebBCEMkX9udVkIeT3MHcRFL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97774414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3h66ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrW4A/+KsdXJZYpX332Y6P/ynyxjBaxzY9uR7H9nAjMdgUS1uuZM0vT\r\nZ3c7qiXxHaFJApzQhxGN5xXQLfFXTAp4YaJYj4ZDRpvddlPPrWe0eEB0/LqU\r\nvGQz7tNazq8Ev1OSTLKGPbbO7vYzRu5o5pjh0QscK7XMSNyqlrpFgOSAc355\r\nKd964Y/Eu1jnamWMY8m6oomzqCFiIUgRYpPE2hKPcu6hN39KQ4SSTWEE0sXB\r\n1Al5lviSgT4PjcNiRjA8Wono7zEzTTC0uJBimVV6dDbWzk3FWlp/wU3hDPKJ\r\nUWP+HLHyox/m23SB2ccqmOFKrUDBZhq8TUP6iqKQzsMRLig0vTb/CPHYN3Tq\r\n20o+WU6uoui95szUGWAHKa04nYIOFSTkC1p2/KHjfvyVPDgNok2cntxwOZW9\r\nxxncN5sMb5m3n7sdKaLbHiDGNCQORaA5EXp6KQJ+qM91JC4IZU9fDp7T+d/0\r\n8QftC1ZjqKPP7wxljmEfAPX1SGKHDhea7zIcamjpMbOLGocWlnKrjNHxPYNV\r\ngvL+h7h1xdaW0FmLW93FWrJj5GVZhN9cico7ktU1YZvM360WCducciS2/7Wf\r\nw+rogNBftFsVOs2kj+lMtX4zlRW6XCA3tXk05v90Id3wYCDcNXGfl4bnGKiV\r\n32u8ECXRmtxqBO6Ci57xBjrjvnwStdmDRP8=\r\n=L00A\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.8.1_1658724025941_0.33911408526303477","host":"s3://npm-registry-packages"}},"5.8.2":{"name":"@vouchfor/uikit","version":"5.8.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.8.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1b9e50530e614b262fb94e95e5b61f5fdbcc6d2f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.8.2.tgz","fileCount":220,"integrity":"sha512-Rc7iWxXjfNzZjBi+161Bl4NIlGTM45JSZstz22Mf69fD1TgScL3HcXLJt+DsLM19dY/BAOPTWf8hiuifGkX0Ug==","signatures":[{"sig":"MEUCIEmYX5PmSAXxQKdLIw74gBlbkEXWMxccPsIYGAaxZiC0AiEA3GRDaaBYXTUVP012xb6CYS2GsUtpyi1RB0QcvhUZAI0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97773295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4dofACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2lw//XCxKDpJFwpX9ZW0XYqladMC2dr7XAaYYtUrWeC+bXBXQJlzw\r\nKJ43/Gmi7uhmy+MxZYSZo42H0D3uDmxNpgp6sIKr2e8REOa1NBOA6Aecj66o\r\nc8w72YMyO9ULB7Cf6idokSIlnID/XJnVWTXzf19zGGaBiHkS6tvThIHJE83a\r\n2rXNLeDOPaxbl4kN5guvTck//WZB1aE/4hNiD6ncJDbDGVHANqUMs/w7w2nb\r\nacq5G48yNMIASeWlhc9bWWN+NML1h/3va26fB9iZAqB0p7EoEz4TpZ6hW+Lg\r\nQX8t3lhLBJUR5/8JJBCohO4xTn59aPET6gUQC41+0EV/+q4CWS5RxQOeS7JL\r\nD1vkTNefq6n9rkVMnrp+43IMCh6DUp8lBt6RPcPp2mWl+AXETz+vcfI4Sjgk\r\nCO6JpkK0O2hwUfkVEggyvNbClp8LM3Qj+wKmWewyayLNitoqrzOIqaDIkrEv\r\nkrhxjdJg/QhJDXuLVaZH510Xh+MhevKJYVLJDUR5jK8r9naLm9kcSVqQd76r\r\nmGgpn6myPIkd9lHzZdNugicugbqC6nUik9tFK5ifuUgMGEERdphBXFTRvzg3\r\nzKaTcv2vOWF4tMNbDTc2u3+gGnnF6gxrsfv1rQniPMdJq9KAYF8REZgYNMNE\r\nJevnGQ4ft9jKg1J+3Odb5ax92aBLK/wxmBI=\r\n=iGvY\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.8.2_1658968607062_0.9332962872614854","host":"s3://npm-registry-packages"}},"5.9.0":{"name":"@vouchfor/uikit","version":"5.9.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.9.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7eb17c808be6f5c3847a2734275c09ab675fe812","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.9.0.tgz","fileCount":220,"integrity":"sha512-DG6dlgvF9AJ0gQPcUbMb+COvcP17PCprvxTqeHFc3YNoYXpJmYlRE1zkaaQFrMrgOAAgQ6gvefiwhdWXJXT9Pw==","signatures":[{"sig":"MEYCIQCJbYNCj3QrtbSCC9pNXdgy5wmM1YUykn3k8NcHE0X7ZAIhANcs1YzSl6DMBD3CC1k/zWY5ILXdfkKFdRQN/rPnIiYy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97671469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8EGSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPFA//dpEiQJUn2kUcNxReexe8ulyP8cqJ3JPkvNqHgiC2vaThfUpT\r\nkCZfv82dcGfGfuDFLEZXrMUe4fFI2dLQxZErGFQw0Fy1mXjFOLEK75wiKlbe\r\njaGT3tQHlAElZmKefLp/sQGatlMxOUVjzZgie/rZp6YRxfDr82vqz+7oQqj0\r\nCXmuN78lbUjhq/IiOM0VUvhGMR3emKjtCw6L01eLbLCOCOOtKJkriuALCN2D\r\nSmrx65rhA2M8TjmyN4ZZ1Ur9n5dAbjwMwiHcMYRMPMJZob4YAqbeIYnaQWrF\r\niTit41OaKJyX5607HLBsL+5M1C3J6RKZizx3iAJGOaTjmyYtnAg7awbLqqUJ\r\nvviaToAHgp4rluPuIf/OXwhR2uO7MAaBn6xPvf9ZZlKSEisKU6ftzaKdoH1l\r\n6cXW6rv5j16jgeJTu4iSl7ckxsHwzBduS+xf9hXUP/tVrldkKJ8nIerV7yp5\r\n1Cfvy6lwFsBThwF4h1dtMLjFLh4OVpIEV8KZcUGVD3dSF+cPTi8MzuuGnzTZ\r\n+2603mv+/gAn1FH+87Ment0wozr6nSsfu6zIQpC3BKPzf4/f5xll+LpAZCtd\r\nvd9NXclOIjW5UK3BzDuHRt1bJpM4T6pHSextKqTB9cg2BURdZCNAt4LiVaot\r\nxah0gNdO2hzS4DaZF6nXVMgE56wJs+d3yS0=\r\n=nGya\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.9.0_1659912593614_0.0038971907528320138","host":"s3://npm-registry-packages"}},"5.9.1":{"name":"@vouchfor/uikit","version":"5.9.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.9.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6978612f208bd7c188c4b14654a228d89cdb557e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.9.1.tgz","fileCount":220,"integrity":"sha512-7OfwmBYeQljQDqZLg1IOB+Kmp9HU3Um+yIHcS6XNL3lF6RmHW2wYbnjJ6CZstB7386/od58NmQixDIv9rg2jzA==","signatures":[{"sig":"MEUCIAQTG7WDSDyX4xo8Fk0JXdh4qBR85wwiFRqazoMhCu6yAiEAn8qzVCbugjWuyfZHyxOXpBHdZsc0qmlepSSEUJg7BiM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97799659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8EJuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrO1g/+KmmNu0J6U1LGfZBDpSAkXWAfwuE7qoPpLP5zzz05Mjg4gXQe\r\nTfub5NnOdv51WiR1hSMVaVDdYSowz/RG2ZQ7hBnXL+m76x9wNq2flyhNj4G0\r\nH6OAOpHOdounwSqsEaQgeR9otTCbw7bgOPVOF7bhH6lY9kelqezE+HzSapxF\r\nic34Fk7fyg5VwysSeiD6pPXnuMjGffeDTJbyOXzQN5lgXPjH2/UJUaH7JnY2\r\nfkJttQse2+eVVYX/XEXrKgNVusGK6ZC+ihRHtp8OoN9Jh0bVm4zJyeNsgteF\r\n3xnPchsWC8oBsDNuwqRW9YcxpwDDSmVA6LQD1aE5TTWDd9T80tbPUHwjJL8f\r\nEEh82Jb0MtDkUty4ikw/ui4COkWVNVQF2Kq8RhiOMZAGhh2DyKWyiT1lDSoW\r\npUQt9kQI3unaQFwVjrXvvEf0sFwUmx5ft2z4nHjD2+6jUrTepE4dQW6wumef\r\nMXJVfxd20zzAw9iTzR/yVVUWg73C8KXDnU7zi+JUd/uqzY63nUQM/N+gKnWa\r\nCQIfdjSO6nzEDYAx3DkPOKXwV7R5i9ClE8Aw6Sd86SJK1CDzRszz7LoPspax\r\nOfrQrBU1O71SAjkTLVvfVEILydcLkQePIPdPV9OvIatJTEUpzvNQR7dxrluy\r\n/YMqxzclTuif0RiicrjT8bqENftbzHCnlT0=\r\n=vtYm\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.9.1_1659912814160_0.3905438729516808","host":"s3://npm-registry-packages"}},"5.9.2":{"name":"@vouchfor/uikit","version":"5.9.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.9.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"96442defca7175eeb263e159adb7591ce551b4e3","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.9.2.tgz","fileCount":220,"integrity":"sha512-20Q71R7LDwF1rb/bBaXf65cyUP9j6kqFfBstG6WxFudrq1jVcX5ePcbQ/paoyYCc35JMl73U4pKv+3vKDGg69Q==","signatures":[{"sig":"MEQCIA6pc8998J4a6KTTGzdRZQv1y6bMvX+/x1OBk5EItuIjAiBElX4eLJeuxF3S/H0LxHqyz1kJm/+igNvEPv0EEa3v0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97798540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8dHNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbWQ//TTWpeBz7jaMh0ixhXmiWfe+cWsEU9RbLGQcu43WAYnBSyQtA\r\n1XlEXX3JZ54aKg4A4SJ4VzQvTzS2cSAQZFg8RsT4rx/10LqvO5oCkygwJosc\r\njECr1FR6TQRq5BMPgNqpDHTeZYlclzcSXExiJRp82uEKnLSqTMVwSgvz2KgS\r\nD5UnlQWThD/lrpISz+EAgMOGoQi9c9E9Bnhgh0Y2iWB7zieACQ6tox5PBPxg\r\nJAa8vA3RpY5v72FuUGCNZeKgYg9/uldMU90SApYkHsZHUdF8OFBDiT7uoPON\r\n439VjB15ZnMbWlIhEuJuxhIrtv5VlYg7mTzR07MrvvZZV7LU70PKYn+b20kJ\r\n1AOV7m3MHrWUlTfxT8KnW6k/739wtdejEZ8/pqaFN3Mlxh1BXpC1T9XSooVt\r\nOwmnPdO6wXp+6616gNaH7VBJZB6c42zvbA+sGMNzG5zKVDs/VQdVYoqpdNIf\r\n3m/qhJXqUhJO8G6z1plLUEBSK8QvLe2pWG4mJUU8+EPygdHYCAZE9NtOG6AG\r\n9RaHY2Emwj8DshFGpkX9BjNX9VOlCkjLCSrTRr4Rb5/vjztdy1h9hn4pNFji\r\nWP6IHSiDu8Zh04mQtCX4ZPjwwlnBiftkgbxYa3Fzoe7lIf5ukno1h3D5IHeW\r\n3PEqUfRj2iGm5Mz+gutbJ5aPBA6HHn8bshc=\r\n=r9/P\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.9.2_1660015052901_0.565438747981551","host":"s3://npm-registry-packages"}},"5.9.3":{"name":"@vouchfor/uikit","version":"5.9.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.9.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f90f67cb6ffff50c0e9790a7ef6731590efbaf4a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.9.3.tgz","fileCount":220,"integrity":"sha512-/xMjHPpMPKItr+EGtBpCD4Hy1B0KoZsPyDLo7FmOEIDK1ih9uLJh4EA8G5kBUPvh5H0XNpEk+Xa2RApqMganAg==","signatures":[{"sig":"MEUCIBVdQZiOvcQBjk9mMlEM482upkfAPQgTCE6yCRxY1ByAAiEAnlaf62kmjNhM3iYt0ZsiRJUdkIh5UowGCwEI2GTRm1g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97671469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/EYXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgiQ//X64mlRo+kCL1moM2DHK5fFdUdahbL6UDI7VxFQiKFPmI7A8C\r\nXIa6hESM6zNxm5o7OxJtrxjDJ7NiJ34lCbbYobjotGw94Q0Ofc1IYJUpnQKn\r\naz5VL0yOWORsEmn1PZ+r0F1kG0Lduabqjzv7lZ7aJf29V/3h7cvTB70iZ1Em\r\npCewAk8PQ+w6Gzw2wHLnaXzEvveFivfrgOY42/xImBPiWfEuK4wTqTTmLduu\r\nWVk0MRqph1ICMCO35hFVaMxeB+9X4qDVj/mPPuq8IjLVnJLtjdx/eMZ1VE9E\r\nHhwOEl46yuUVS3lNcOSLswD0zHcdL6BnAx6ixNRPH5Mj42b4q0pozExjzzy7\r\nE3JAGiWeEeOD9SdW/EfzowKpAJSUfCkdums6RCHG743SzhA1ld+zrBPaUsW+\r\neLMw90Qzw5mcU+Ovh6oOEOrLhMFV3QKxkWZ3CwfafRBX6JG0gffq9q4gyESS\r\niTETRttvyvmhsvf9gN+VZVwIcWS9jN3qb5Lv9Uy6YLDl6sk1eRU5bNfLD3bU\r\nFKeLWIYtOws8NzN/tZq1NbOdjlSj2s+fY/RZSdVw4/13EbNjeDw7Q2oVww09\r\n0XYncwqP5mJyNv2i8sAm3frXeiiLWZVhDH5YqwxZTAjceNSqpCoeTIDWRE5z\r\n1JLb8X5j+Nzhjf5+wZPhJV6aahY3M4/D7cU=\r\n=RR/4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.9.3_1660700183057_0.5792197926428047","host":"s3://npm-registry-packages"}},"5.9.4":{"name":"@vouchfor/uikit","version":"5.9.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.9.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6446ea32bb7d61e8be9b68e51b0f4720b1ba731c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.9.4.tgz","fileCount":220,"integrity":"sha512-Fsm1YV/ApELdJJSkhOjk7ROE7z0XH4VIfv6HpaMiKi3AtXkTYXnoq3nxt+Erap2Flg3lc//oE/d3Oq8bfMW+KQ==","signatures":[{"sig":"MEUCIG3Z3UHxL1EcdhMWOvl27iTCpsxIFo5iG6fGTtzELoGAAiEAjgr9sy0Wr+ehw6JsIzLrHXw8EvwaJjNQY2Ik9CAryzY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97799659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/EeUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQwQ//TR8Fq1RpjbVUNaPtaPaVoNB44zJH2oUUEFEH2vb/vsvJ5nxw\r\nz3XJV9TMvBJyNSuNuXVBsA7lOmRQ5uAr2JzvghMg2VjLfmn0UdYmy38hurT5\r\nhbKOCdqCVRYojLb8XTxSqJJVTQEuUHbx2fFUpd702lZunnei3N741K9ZtXB+\r\n0NpKeT3m5vDiyKscwAz1ruBmRZPp/W0DYJ4U15Dq8sEa/SZc2tN+Lawd19o0\r\n/sR9S84mALbogZEOR8sLSTZULj1wYTamxBKxw8BnW3B6CYKKPF0Kn5liHx8J\r\n+WW+PY+7n/alD6zrwnvulwEPqEHfF2HtTfRHJ8g6dNKPJp07wOyM6WtByIzz\r\njV1cs9kDX9HxI2531oxDsKCFeRsIug8b5vpCXNkvvDQM0O8NIY/9xHUCr/P1\r\nMcMOwmwCAZRew1yxSglkGOreQFGjicNCs1hpS8nKbMs4zn3qBpVACkwzQwgn\r\nO3xJYNbwb7dq2qF93/lgdGlyBPYAaNwG5i3k9+E9dRtqD4J0qxQCY55D/SEq\r\n5BewaB10AiLj+VxRcnHhXq9IIRj+aTFdHTK3b/hmZmRWtxPfQBwqwbtq+LDm\r\n1TiWG3VPz1a1n9x1Ll2AvNwxHbYMI46M0JH42V6pHigeYAPMRKN4mIcqOrXl\r\nLrsOijZDRTZ1ZjZPSXi1mntmDCbwafpuzIU=\r\n=o36+\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.9.4_1660700563490_0.8743043183422967","host":"s3://npm-registry-packages"}},"5.9.5":{"name":"@vouchfor/uikit","version":"5.9.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.9.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"bd1f4159bffa28635c7d937ae1544b2aede63444","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.9.5.tgz","fileCount":220,"integrity":"sha512-zB5B61z77Lk0U+OqJTfkDhq+itCZ6S1m8mX0mMMkr1BSYEUAQaUWgse+78/PmOSHrd6wGpdSNiCP5jNnYwJYtg==","signatures":[{"sig":"MEYCIQCI04cAbVUInjWAlt4d30WT1KHoZH3vbJ/Mwl/Ecd/3vwIhANu1N04KzJ9yMnukT2MZRxrwlg6krYyOM6B3UU/n7Cf1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97798540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/Ef6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjiA//cD3VFoKDoYaS4Nuh5UW0loAisTPZROXHKooJs0DJ72lVHFBn\r\n01OeatoGFrIRjyHXw8U0j0SvfFcHJh8PMUCkjBm0sScPyibPlkOZ9D1v0BEx\r\n+6/tyRbflnwJOnR1CewbJGU13ztABtAT8G5bpa0K8rcpDElawBgoP+a6oif2\r\nRyDICQ9oRvuN2UK5GLyGAZ47H17uG8VIOaQEr6dMesTK1NgABgyqzZ514Hcq\r\nsEAg04DIXzZO9oT80dbFImQKb7b7vUWbiI7Yu94a3iei1GO9O5BKi6P+uxqI\r\nB2pN6JfpzyAWn9nE3/uELi3cpKbLivMX4nYrNoasrO8Ao+QVtKzKxbEmZbr1\r\nDlf1K4Svd9MnoFhfaIZUWesQ5Z4Hz2v2VDB2I29hMIcBsRXWUupDOUw/JN0L\r\nYqhUge8rc2kwxbiJBshwPlzTdRaXLBSsLYijsZWKpeaP2tAsYanuae4ji3Bk\r\nXeWADVfc9Ihmw0y04LWud2ZRXipEIf3hU32JVOfhBErds0ePKrWUaXNQBTn0\r\nemoF0sqIjoI0FvPHL7PEt/7esDvDWKlOzP6SWjeVn1kwjqtBaPRgxmWCzgik\r\nRFjG8dpKnGLXWELwieEbeLKIlcPVMUyhCRvUj9vteOxCs46BwnDOSdw3FlRK\r\nJ9IdnQ7vRAqAp2Yqe01+1NOlxJgU/ny46Q0=\r\n=Nb4h\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.9.5_1660700666146_0.6002717516186276","host":"s3://npm-registry-packages"}},"5.10.0":{"name":"@vouchfor/uikit","version":"5.10.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.10.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"13127e7433438d1557fd957531fc3426166c50fa","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.10.0.tgz","fileCount":220,"integrity":"sha512-BIDEdoGSZWNizSUyyYuzpK8PkWevbx89jqg+7VDJnf//RzLzWH/S+RuFk1VQs28KMH6YE+GBfR6x0Qe66XteAg==","signatures":[{"sig":"MEYCIQDfjV8JaE4KTvhVcTffIMu95uMLPEMxRCl2Yd38/cWiLQIhAOD+tH+nVmZjJ6J8GPlNDTiRw9F8VOnQZaIE7cZqqauc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97873566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJ8dPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOuhAAg2shGQpW0RGG+9BWAKYFrpFrcAf/P36KgnmFkpmzQzd+rlfS\r\n9/kyIO6pbpcIm/VCip1P1xyC+3By7TuoP/Vch4hGgff6eBHL7XfBKwXMJcdf\r\nzZWM3gGpl3b4tass2tfuiXl4ag6nHkLN3jPLOHGrZCucuKMjn1eCrDhOx9ub\r\n18qap/d5XNX0bMk3N0szKOpNgNY3UOfNF1z6FXAGpz92Letchb7ybNvcT+Is\r\nmx8tVI5yt+EY7Je53/vY1DCxFSnFy7M5XhL1DJs7uFiFdC7Fij8OWO72LqRn\r\ndnn12KzotuI0s0QmmSr2NGzemp363E6etRyZXHG17d3fjv5K3FKdb3e6DoWz\r\nnp2Opa7n68gzlCQf6no4xladjYD5VFQbEd7fsLMMfwDHdHHORYRQ/slPLWls\r\n5f3ltI1ilg8juG937/IxlGsmz2Lq5G3GcGC2yrMmsJWb5L3p3K/OlIzYl2Hd\r\nUjAQPHj4Y62StpfRN7vp8MUBs2xxQZteNr9ZO1zhZooO7WYGeBjqUrjgfTrm\r\n3Pmf+q8ysb3egNS+qUrs11DKVlG40KTDiGHGtFsuPLUr5vw3M2pN8y0TAe3g\r\njOY6/yQrm778iG0VtMJkZnhJ44tPrsoDY8TTKxvw1PRKaQ4YFN7NQehCORYY\r\nMFhC/Sgd8JIoTi5eEVWndLiQWI3iNJK4bOA=\r\n=Zrf6\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.10.0_1663551311003_0.7872795723868564","host":"s3://npm-registry-packages"}},"5.10.1":{"name":"@vouchfor/uikit","version":"5.10.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.10.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0bc008cf1a225b60efaced6a43c56bfa645ff10f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.10.1.tgz","fileCount":220,"integrity":"sha512-JH28Z8lpS/YAhu4nfVSG+RBWauelz9l13cZhWZxuNpPBulB5efPTr4XLts39ofZRObPcxcUapYDvzBO9hzXZEg==","signatures":[{"sig":"MEQCID1lYGWU+Iqvmr+AMKPGOwO4JNbvnPJNkSjVGRLTtwYjAiBcndNtt7r34/pKB1pJ7/MRwUSczP76ITGC2Yv1y5c0MQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98003565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJ8esACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDbBAAlAHVg06Ll3eg5Ilozs7b1PEHDw3xLMv8bdpfKF2EbvMGytwa\r\nI9D/nH/C1rkrXwJWsGvUL6r1HQlz4FmnmgWVgTM3PgddC5yXc2XNX59cn5HE\r\nqys/R9bhRlLgDAA3L4sDcBgEBwE/HOJnEcvug+eoB4Ce4QVFefk9+Bviwkre\r\ng8tlu5NmbzBqfHVD5g6iqxowOieIgJukUjUGkaJLQGH649xEuG+zV+Dhkdru\r\n6MPhXEco4Wa8U8p6k/DSsC8jfW/PNEM6txVDu3c9wsTauZKj51IoblgCuNxt\r\n6D/RAhTORPWwDVzGzeJsN5HDUi66ZFNuPqJRaF63E3K8jY1sJZ4310o3i++v\r\nWxm7InfZfK+H1+HD5zWsJvxXcZclORbFFcBhYP9goZBSVPtPunplxSVjq8/6\r\nK/1Vbv8iUzhC7vnLe9qrwnToQIZYokIi7kZXDtsnP0KyMcT/fsAMaAiacVnO\r\nXh5y3eIoY56Op5zOaGFsPrII2w8nIsm73TbDfuECEJTxIohNoQtJDEvBdlb1\r\nXhtkRxYqVcTISqiAj4BHtyv/sF0gviDzhgRBNZe5LnOIP3LbFjT72r2huDcm\r\nPd+5wOfYlb7v2whFeK0sVkiil2EjA3u77paHvhIcVump0T0gpnRISrkqqoxL\r\nFG47yNKYKYvK7XNo8mV0nIaZuQV9qJhHdoo=\r\n=EtWB\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.10.1_1663551404254_0.8055571562296724","host":"s3://npm-registry-packages"}},"5.10.2":{"name":"@vouchfor/uikit","version":"5.10.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.10.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1c138d07d60605c62d7fbc88eb7d838e43d449d2","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.10.2.tgz","fileCount":220,"integrity":"sha512-GtC3npYtWqU+TIED0R2pQIpTTuzwPlzs5p8F8RsohkCCp5yOOY2UABrxfD4cQFvX7avkyP6yDP89hqNBVx+eLg==","signatures":[{"sig":"MEYCIQCuf+cpd0RCubwwSqjR37ZN9xHKt6F331zY/30v67CsIwIhANTdUwl7ul1OdPCAlN6fMTqn9beai61p85fHwIh+n+ZY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98002017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKoC2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWhRAAh52pqagIlBukgr1l1ipMcg6+HC7y4UcQmwFw1rHKhxy3e3Br\r\nZMsUJjWrjmUzsXEKtrrOntUr6gSRzogC9Ls5l7we6J/YhzvVU+ejVYURsznU\r\nh6Wh2YSeLNY1iCzo3cqwDIjrIqQxaSMILTzsotQPLAN5R4Qn3cuOUiC4KWpI\r\n2UnWXctNn3rAhpyOVmW+XMwHCo2M7XzbPEdxXpxim85YrHR+I6T6zBtE/9ws\r\n/iaIZKF1BvUpQN6pDe0DpARAVnA1q6Hv4r62Zu+bVMqT9x0G9JsWGCC01L9L\r\nZM3vOnCBPjU4xhdV7DatkkYjiIWCaCLMse37a5+1tCA4m4/ZwQ4zbwRghbu2\r\n4XD8v4gI2JfI+QYYmNZHwYNZJkVlxEXnWh1/Y6dCqTk9NXbrlwWTO18ap9JS\r\nPwjibDIpbx3F5DdaLWCq/ttgjn7aHUA0sE19n+7nOq2WnwASonJ/M6QKZJsa\r\nhVsX5+qGwqfirw6U+OsIP49NXV+UoS6H3LljbRNji7Q6KCAYLz+0URBKUmY/\r\nF2nw9PzGQhrMe/gQCDcVf2zPrZQaPHeJoxdHoGWy0/amAsH7HKMoNE5ZjG6e\r\ncufYTZC2zupijhX922h2DJWB39+tMCOtbrr7sx1zS5c3pbIwB9xk7sgGEkYD\r\ngOdAgvjud59bGp+aPfSJS4mawE1r9GFHIeU=\r\n=CaB8\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.10.2_1663729845989_0.3730613888976313","host":"s3://npm-registry-packages"}},"5.11.0":{"name":"@vouchfor/uikit","version":"5.11.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.11.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3a3d88252fdab42bcb8b95bd56ecb0ec8a9c15a6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.11.0.tgz","fileCount":220,"integrity":"sha512-/K7CMd6cd1O5Uc7KFEGs0P/kHby+wvYz8rWkc595KnAiPxKviYGLsi9py9oXx46OOxrLmKC6fmtszFYNY7Iggg==","signatures":[{"sig":"MEUCIAXlj0tEIRzREBaIDJWqhV6o0PVG1i76nsmNmygnoEHeAiEAhKJYwKFr/vK7H3ptf+31ErJ/HsTdJp4O5+Nt7aT8Ur8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97911070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKqN3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmorbhAAk56XhJCHtGNgt6KtY5TJNqqIkIJyUQ+iR6I9fm1ne+KNlBZK\r\nhWOmEdOT2DJfqj6pvb3dMBIhzHAqSL72ucBD5SkR0gXozmD3a4hspSq28Lq0\r\nrTbn5XwAWFIC2WlMFUK8x4ERH5yIu28wWHgGZtmgr+91mP60AGbIFkIjUOD8\r\n0ydMi+M3sI0c9Wx0vG3ylYvu3ShgSeQM+5IBfzBDDPE8nf4nEhZxIoBFVwLR\r\nrjHvWTajFbngAwb1HHnddaK5EcUXiGaaw273wYzwigAow4n5Yfznoneb7Yix\r\nhInf9rribn337d8cpoAnTdF/RWRgW9GDc0PB1u7nZS0WVVgsBAbWKUJrTlah\r\nQXnrCcho6j40zOUQWOfBmnYinEod/gf/TMhTtN+o7/jW6z3k/fcPI7pu/Srf\r\nvzw3sszeG340v0BLYUwNY4+MePvDcma4zFi+xoNH1vD4dOWBz1quCebuc7RO\r\n5CBls7DSM6MByMtYglkVcbJ/Fph1kbZbJKSljLWakVQ+WgpYBiTQMx1c4gwE\r\nmq4DR8FjGioVkbrPIf+fNrQR5i7zc8XeL6qoVnRkTrjLOXLpJhPFV+1X9gsf\r\nT4Be4vWwl+1Ldj3aj17bdLnmKT5BzsbhS64gONOktidIjwD0WtrTni2ZMK9L\r\nN1pXhMYRPEqQEkY3drzQEHyOQWtukMdMUc0=\r\n=rizv\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.11.0_1663738742439_0.06535126926156942","host":"s3://npm-registry-packages"}},"5.11.1":{"name":"@vouchfor/uikit","version":"5.11.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.11.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"65ce44d1e0ca7cf703863e166958065ec4f5eb23","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.11.1.tgz","fileCount":220,"integrity":"sha512-CDFIb29zUhMAdPNKfqW3Xubt+9fm0nlYUBp4jBljzikeaTxAvcLdbo9avmmbigFwjX8AmDkCrX9iOT1A/7QSEw==","signatures":[{"sig":"MEQCIAMd4EJ0wtUP+OFe5W4Y78EjDkexXjs49UxOu8OjkHTcAiA9ge5df1vglMWOH0fFRANjmQKqmp5hF1LZSKhCfJSP8A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98041069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMPbbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoAjBAAgW4tVC5XPEUw+tAo9xax/N8m+jFLRnBBhaf7X7r58Beg3wGy\r\nWZH1fOY57RIUQdESMGEyPVc+Ft2wjQkNtKqHSGCZqnvZLT6ub5pcAd1tax3D\r\nL7elRmzpg2Xesk8LWMM64lSVtZ2xF0IFPFr4cYMB5dS/tf7vZ1dzZDFWSWlb\r\nOQknKcr6VrEznm+Ai4CyBo18s+mgUV4fdaF5sPzFQF5iLHPYvO6ULV/jk9qa\r\n6tVyP2YQadbv6+kBUnfruGf3nZ0e4juaQDWoeVMN4Zhsa5Us6UsirggmBbYr\r\nqY6PypRrT7XPUM+/OrKYHSsDtPpvCrSU3KltT1nMWHc3DoF5mMlc/tjBjglS\r\nWTZHhyeSsyR+bx9MxksWTskaB3Wm55zqC0rLlhcoiG+RUtDXkA0zn751xtCq\r\nJi4wvlVXGfAr5Q0n+b0VwnUMj5UETRWwddtORpUUuAJNXbvkkb1qfQ8ozsPy\r\nGHaKZh9HX5q5smciGbqxYshr3kHfpSsp6SgdYM7lyZ5krp3jTBm/+SaxXrqa\r\nvIlhdqM6n2N4Bj4L1Zbp3Q7BZxLiM4rg1lltifVBmNHzFeQHzFzeZ2dEeGOB\r\naPR9pbhuU4e3u5yJ7mNg6BYtLkiIIibdYSb0U+q9XAbRZ4olH540gKlF3pVz\r\npCYlDlZlSytINVq6Qf1wqcdbFqK/QqBQl7M=\r\n=1etV\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.11.1_1664153306508_0.015096156067351263","host":"s3://npm-registry-packages"}},"5.11.2":{"name":"@vouchfor/uikit","version":"5.11.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.11.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"319048e448ef3fcf6051a4bd402d53aff3bce206","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.11.2.tgz","fileCount":220,"integrity":"sha512-62kmeoy7Va8lNRTeCsf54MkkBT9KQteJjJo+c9vxaTu4Kh0yPFo5dijhKCAX1KesUvXXJqNp2tlk4pReJ4V0pQ==","signatures":[{"sig":"MEUCIQCdVbiT/7YCfX/tvkBZtv/j1FJKD534LG/xTMLPa9JjFQIgWclOS+A+nl4FwEoK+20RbkkoYY5jqJGIspL7JVe+/mI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98039521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMPddACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDsA//Rd0dWBw0R6MSJnIfnWd7LFNfTURZ67CAINAfgAOmd9r/r2vF\r\n5NEha2y4d6dd0T1Tb85+ZYhN7lVcdwEV7SndnAHxLh/MYf5Wi+W9PvfWtrzi\r\ndTxy6GMDLmvLKbJhZl5Ga2jZuHuTQRINzcpf9P7sDKxynrPZvR7Z4l9mz7Uk\r\n6iDma6EiOVFF1Hjr5p7N+e3w6Myu+CrW6J9v+6H7nUdcMMlwMVltf16oztTy\r\n2Q9gvcIuXqLEFFE3xo/JxwE5xHh9acxRIAESvAspaVYPNb/INK7uW3dSeXCZ\r\nTcIKkKocrbDjUQQnBZKQS0gPsgT7Y5yjRYGVeBGA0p2hL1pHO4frCL7DD/dz\r\n+VDEeNz04PsepUUGxN02rSKv+bk3uiyXa66cCLXy7Gp0qtiUNS/sczJQsppq\r\nLqSP9JupSnpaocXXXEDRNAv5b0bME6KOp4QcwEzGMfhT+aL+3QnL1MzcmtTU\r\nKTDbnWN9aIiXmWCytJel4wOIXL5Gv9LYHeqLsbX5lLlBaIA/C/F15ZZqWRbf\r\nYb10b+OpCFyJTyRsZVGUQGr2wR6sJh54xD6SdD8ZaNpp7r5b2wFwcgoRJZ9O\r\nPijCxizBsLL9OI3BspLwDOQqFfARXIvuH5QQS7o1/IQipjmFqEkIvrWpl2F+\r\nUtVaDfFGoNCp5Fq0mOY0weqY4srqwUzmEaU=\r\n=Gamm\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.11.2_1664153436687_0.8671946373546429","host":"s3://npm-registry-packages"}},"5.12.0":{"name":"@vouchfor/uikit","version":"5.12.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.12.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2d2640b207c678f4b624a28f65bb90e113aa5505","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.12.0.tgz","fileCount":220,"integrity":"sha512-EkLe9gNgewFxFmFhzZq2x8ZmZ9V0hhpy1NtwRMxTX1cPPaA5C1Ib6xvcBzZZ8BTX6aoAgbOaznWapOy53FTqzw==","signatures":[{"sig":"MEYCIQCV6/QSuO9+BkSavWoObo0/F4XKqgDw8aAzEMA0LuQdZgIhAMrCjqNwyWJvjs2ZmmNlfcpQhQgU7qvsvIm/hFuQAdkS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98055022,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNO16ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGow//deLFmlRpfeI8eDyY5NAIpT3pXCIda7IPlHRXWXS8zIUwQApB\r\nhaDTsg74eMiPrvWNhDNGTxDz46sec6ri3Chn4jm+gcEjNxzxgMlklsRQHpgy\r\n12LQoC0uF6ivIdlIZ6rN7CuYACS2kGxe+zb5uL1qzbdRCyYvDF+gePwRyopq\r\n9cXFMOWPwQvlRddrB4iomBMmQXdL1Kyfki3T9XTZeWpoboFdsnXx7B+Uo5RO\r\nc9HBz1pdWYKx7wZpg9gKokLS6jj7Rv836eDvl+fbPuOakwjRvPix/GveT8OA\r\n6eTaQzvjJj2OaXhWz4KXt+dY+u6dJDoXOiBrK8CyUtU6WzXiIDFgYXcv4Ju0\r\nZc99TehQYJfwm1RI8Si8B7kmT06NIebn7r2to+1jNTD13jueazHLPbwkbOIS\r\nBVa87pZ78bVTgyoSiNRydwe6A/BBqzYNdr2/iFoN3vVmI5pv4wR1g9QlNIdt\r\nasfijUfkA6r0uhaHGqv24Q0FAyfY70ID11Y9dZOMTzBdDtUYKBT7GS7jVz9Z\r\nguSFpBZM8AyZtsPWQc45YetR7bUTQcy83/xcSVsaOa5j3BjZUqajGUjExEIW\r\nbYl/mJv37WUr8cF/jN7IruORYBdB995DxiOooaWhiOHBMeAp8GB3LR0axNT4\r\n0efH2zEDYZ8DVGWE7kkgKel8hLVhnEdkTd8=\r\n=ubyg\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.12.0_1664413049663_0.8213904828474874","host":"s3://npm-registry-packages"}},"5.12.1":{"name":"@vouchfor/uikit","version":"5.12.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.12.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"476be59c25c8e4af98ed6839c888b5e100a0f223","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.12.1.tgz","fileCount":220,"integrity":"sha512-2uRHRMr0t6lYO1VfD+Ig2fJ1EySDpwji4Om9QKafC/2rO8OMS6dPl2Rr/DMuWVU5hONG6Go4UwxuHkqS7LFesg==","signatures":[{"sig":"MEUCIDJesdlRSFfJcVnkyhtgmu3ORyMPL4Bob2hxVxpdQ6gIAiEAudjBU/MLGf8MzCYmjQPsifAN+Ej0htR9WoU5Psoxawc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98098147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNPWcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8MA//ZzktgRPkgPtWne5XJ8cVicMnvTeXfgqBrLtXyhIu5kwI4/J9\r\nQdgwLC2G1kDtnE+Qxf1MBBto8M7/8zV6XhtdWFvMRx5HMZMCb9K4+M6qRZ+9\r\nXGxhlEmfL3L3k4doDSNURT3i3v6pOaMkXI0bU9Rt9ncI57nkqIhBt6JUg4+J\r\n84IQeQsdSq1JcSMF2/shUFBgafDKlwHoxVVhmu/X4Mb+X6iq61XPvzVsbfJB\r\n6HKyrWwz00GtBJPNAyX/g8Gp4/bp0vYLvC2FN8hbvNrGhrpSIAz2gJNw1yvi\r\np/zizprKDiqGsll04/OXUsPpueCl7e6OsKsnNL+76G6/dY5F59ay+yNOlyOX\r\n7vxQ50KaOL6zHy2IRb0VZQsibWQm4zU7+4g6P1VxRYO6e/9E94SdAKv97A6x\r\n0hbfGiZzP4SonAKqR6g9piNuGSw67iEnBJEDBBkSG5a8p1v0aG6OGO+D3StT\r\n/P5efMohg9t77Tt6xGRVz/f9vMHN9mBno37SFTu11x9DNKcqQdBjgqIvVGWb\r\nXPWhcZHvDbSJ/1zh3o/I2R79nkqWZG2rd6L4L9OXxgQ7NExK13ysQQUKWvV/\r\nOMKxsalmTFEvQ0l8HJ4A+h/QH+2EPFhlTC3YGF6KUChr+RrXwHxAvbl+ZnSI\r\nLIH774FA4ahRz+uB1L2Clh8Os48jGE8tgUo=\r\n=leC3\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.12.1_1664415132416_0.7095523363679768","host":"s3://npm-registry-packages"}},"5.12.2":{"name":"@vouchfor/uikit","version":"5.12.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.12.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"fd2f61cbacfd3b7fa9198ee7d036695c7e720653","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.12.2.tgz","fileCount":220,"integrity":"sha512-LogxfgM3iAI0MUtN9tu1+xKk0VYtPSeqrrLDIYZOQT+viNTa+0UzHNyGIacljp3aZDtQnbAFr3pqaK6USOqJDg==","signatures":[{"sig":"MEUCIQC4Tnobj5B0IvgaZg4ZJ2tzxXLMcttto/tKgSpUeWLKeAIgYYRsDsUKOZkabhK//TVVBpjXPC9r/KKyPd91EtEkjw8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97967995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNPtjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOHg//WlsjjHzDKbZtyrwxaUxI/oxmvxxy8Aq85j/XBKG4sBhFEwe8\r\nkLDyMOAaaCS/b5w8yIOP2Z0KOkFfP4BPoFLdkmvJvWLpWIHQ6mvlFbdnhxi6\r\nRIPunXZoZmJUVuMZvxtjfM3+wXs89V5MZwwP8e+Z+lUSe8gTb3bRC0VAvZna\r\nwWsQ2WkEmE70RahOu5CyIRpRUPshSO0FYzslbdoSGEaJhYIYWcOvSozDTDNS\r\nHhE65xGwe7BUTiJKBNnnjqPVpvYLUkMnHTmiTMqySv4AocWmGG98RDSSQf50\r\n2P2pRmOJLdD2SKIS6I9Ounlv0aFiXejIdGHrVo21uXWu2Yf12DbTcgn9VGFo\r\nXWsEY/sN2p3ntH2BPY+oDxY9SPVG4Ds87pBMbWECLU1JvO858/KUc8XNBWJR\r\noJK4i7r+I0TsHNWbXPmmKNETg2zGfwmTNlS1XADxRBOiYFmi+kTlpmd7K+xo\r\nW+JJl42vme5hdHBDhi27YEAA7U+Da/EXnTpqCoBNVlpfGCj4aZ7Xx6aQoeeU\r\nnWuI9x0YTIH9/wNWNlzPCrcRUkzFgpc6xsRXszSq+PL6HVIpSlb5zpluC6lc\r\nYgd4zI891xszHD94eF+Gi09Ul4WloPY70iOcMft/V+uhK1LZ3HJ39VxK3W/M\r\ncTeJNx6QwO8FtNWh55LUvcrMGqIMLefqc0U=\r\n=zYLy\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.12.2_1664416611271_0.07873191163566462","host":"s3://npm-registry-packages"}},"5.12.3":{"name":"@vouchfor/uikit","version":"5.12.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.12.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"01c17c624de6004882b4f2efea1e17948c4f70f9","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.12.3.tgz","fileCount":220,"integrity":"sha512-O23Tz6+IrINtX3Imk/qFnPySJjermOtU05kfku4VPhYkmaN5uskEClO3/mi7fYMHp8Z+cMATnFXO5NClWnbrZw==","signatures":[{"sig":"MEUCIQCEYqgArIoSQUVLnvVgQe1Ne1PZyXz8bZkedNq9zwttowIgQNObX5BE3PHaPyxLXkagS9m+WNO7W0VaZLdqFiLSx/c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98097994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNPvYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2fg//ScuZWCooy/kesj5susyKN/KZR5mVXydu7dJlX+d+4RJxyi0N\r\nUL7ReFjdKjypjwvu2QTgYFB45vNdDcduv7esEFOJONPUamRrMtE6JfQiEfEH\r\nlpjSIiP33O7cQR0UgsQP+XK1Cuue8tdJwDAFYcvRdMlsCrpi2VoiyW95sh7Y\r\nShN568TP6fgyYSJe3DIqboVNQ0dLx7Tb0bahZVHBUgcw7Z8jq8NLaKJqZxpj\r\nzaqPFa50R6ByFbr8YOR9ZW17MxG77kMQbaKNeqjDBjki97m4Hkue8YKjSTm6\r\n/ogPn7ARCybfIB2OuXyXoMFetds6sG4JMdKgtjX+TvSfCx+MFr/SH7CGI+2I\r\nhSikP6bjSr8AXPvgra86YW2Cce9gL6XM+n+h8Va1qAjLzEHgFNS3Y2ORCQ41\r\nnbs4nJj/NDYyvIuyF9TExRSvyotZ2G5As+qM75s1Fl5Drg1rJ5pZFw7RFDC+\r\ngz2oJS1ENu8rgqNAkKhLaYU1b3JIYwWEdocqHNUYiqYkBhfs27mdgGjRGJ/z\r\nPlIe+uvlb8s7HX1Gkb3IiKqEGox8MI7kFKALNki3cNpMRmNK6nXtjKvKtyXH\r\nJWxp7XgqSKkLkZPsmzzK6pktBW8THBTiKcCHThAmRjglZRc11p9ZG+txDuoN\r\nvoFKo8fAg6kkN+84kFs2p91D3Aax388WwBY=\r\n=+i5a\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.12.3_1664416727490_0.586457444015497","host":"s3://npm-registry-packages"}},"5.12.4":{"name":"@vouchfor/uikit","version":"5.12.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.12.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8f8590cc6edba194bccbf0ebc0821ac3b57011b0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.12.4.tgz","fileCount":220,"integrity":"sha512-qW3MTOUUMEq2/DGC0xEOSu1mi+UcUI16tG/8de+kVXFC5/H4oimOMF3tt9JM94/HgKOnEVdOl+1k7m5WlfYelQ==","signatures":[{"sig":"MEUCIEZF831Q/YgpvLneFJCywtJ3NJr2S+vAvyNtxNdfnT+TAiEA3xeYD/kQvQY4A07lTewIOEriJ8Y1wUorQYndCi0WRbg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98096446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNPxHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmok9g/+IjQis6oJQ7wzOgT6C+4gmmTzD6uMFn8t3FMp9+4ND1BMey/C\r\nGZQ4LjVdXHh1ZKaUj160fhW0xW9b35MX5D6B2y7ETOroVy5pPzcXRRfbgjiD\r\n6JELbqudsB8IAsXL3v9w2cTHN3Uqc2BzBjndEKVaUuR57ZW67tdsV4LEjFHY\r\nSATHy40edciGiUho5+aS5Ijc7PlFIT76L1y9Isp6U9BZjALLo2ui7O1Dt0zP\r\niscq4S5umsakN2Csen8NB0/H+REVR3T+5O6GgFn1I+a4C+CzeVoFOh+WGGVB\r\nHVESwJoBi1zlPMpK2GLCWtXEDTGDB6Xt17vUO4DfCE3CtmJxIZLlTQXaoir8\r\nDaeNcQ/6wHKSIi534x5YEecT6Lem0gPw/K07ZMLRUM45RmUfOBQEOuWU5FWo\r\nzprZYKbra2N5jul1mBXQfoVWHLfd+nQDrLI7sMelDFGamSY5p6bWwppfQnQy\r\n3OHQ1Enlc3lr7HmZ2sUNoGfGHZrpJdS6OWFc56g1Wl+h+WrUNtMH7HYcEIDL\r\nLsYRQrIrhv05LnIhuEfNSb1ikpCnaRoD+TD38qNqKb7M+BNaS4Dh2RfD9eUc\r\nazAWtT41pdYllAARw1RS4cCD11jRelL1XJvxCpkzff+J9yLBoZxr6EWcNbtD\r\nRk+ThF+KgsQBhi32A2OG7HQNs8Mr1PQE5sw=\r\n=E2h4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./package.json":"./package.json","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.12.4_1664416838546_0.7903832081394799","host":"s3://npm-registry-packages"}},"5.13.0":{"name":"@vouchfor/uikit","version":"5.13.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.13.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c2cae37b1987fbdee109c363b4b7126015908fb1","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.13.0.tgz","fileCount":229,"integrity":"sha512-xW2b3En1rdoQk74znI0fsB6wmRDxOfGwPSM4OHxSu6ciyLlzSLK2v/ADG/OYgnYsJgTZBmRQjdwMaLoRWVva3g==","signatures":[{"sig":"MEUCIQDPN/iO2+I8p5PR75z06Y9jDrQUo4OIinPbjhqy/lAhYQIgNeUomc47XjC1+aX4VP/S8XP8oGh1TAWj9Ga9b+ilbgI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98075804,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjae6rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvVxAAkpcQYYEjWXne+Rnyr+34lV8pAWWHRFnaqIkP6Z6Zm6ki4gO+\r\nBn5/U26inL4XyCTo2KwnQekH1wLUAz/Z2ZywHASyDZMyAYMabCxHTsdNnq6+\r\nn10XPeXx4xVCTqZGl6dczStldEA8BoTAK2piI5ZYEbTTPxaP23fJh1490Im7\r\n1+VwAJquzCmp5e6IRIHBuB6vOgbWs2xaoVmuFzuUJqkNOwXvtj9zqXyYXMrq\r\nr7K4Gp8F8Lbv/LFWomL9wSe51wcMyThHIfCeA3cYiWBdAF1Q+f4zXsHZb5Cm\r\njpNNDYYxqZBahW8xz3WJv7ShV3kTd19XPTVwCp9jSg5SYtdEppLLno9zOSA3\r\n1KxQvFtwS/wMFLgA/8xvpv8qB+N+sMpqKVQQ8oGyZ6M6WxsI8xWpRNdrWaBO\r\nkka4VF2tal5PBc1HgHczUET4vv+XTL1jHDDyjLsnxOIYgz/cmOszZqREcPv8\r\nBVNcEj7jo2SDrKEXXzEPoipTvl8yXjc6qxiR/p8SLLia0DEv6RFg1KwpAIXE\r\neV64TnegzIe99rHRravkFc0s4lz/r5NFSUmUiBatpMrmHwWLO/b8dk1L7FVE\r\nf/JB+J3IwE/YKYyyU4ewVqJZNNJMzoHUDBpk7PvioOgNKGz3AcEQZMBzS/N9\r\nJM/Vr9MaqxM03PCnDtHURjF1FwmTc1Gk5Po=\r\n=8qkR\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./embed/events.js":"./embed/events.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.13.0_1667886762977_0.6843768618810337","host":"s3://npm-registry-packages"}},"5.13.1":{"name":"@vouchfor/uikit","version":"5.13.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.13.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"40ad2b3c4104b8e652a4fab0e17a781f60d0ba71","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.13.1.tgz","fileCount":229,"integrity":"sha512-hF+CqjUKaf+INJO0B9svXp8ta0UZ+U9XMHB0OCKdxzQgZUCYcMefRmH0H0u6WS49YerOGh5f8NCXK2Q7nhd3ng==","signatures":[{"sig":"MEUCIF5aCaTPaUhKkv391d9l8KaJLruLt4gfHf8WiuEMJxiBAiEAto9Agtuu1PRlamJO+S/0b08tC61rE/l6StXtbPizHpk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98062881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjawULACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4hA/8DUz9vG8NiJXe1wUQowox07fAgA2RW3UiCKoyu/6G1kbuBgYe\r\nSEcs3QU7O2/u9uPFqCWfy4Ms6f/ekkg4babR0vx+xd3To+ExOjOuHskNUBEC\r\nrfvtI4BQkszZxDMPV3tuU/79YeRSZVW/UPd1cHqgb+6NJ+7IvMw9402g6v+A\r\nopNm036DDt+WWG5UWKfmDoZCQ39mSxBlkRE/RKx1kWVG5/OibAkzBWW0oKYV\r\nY6//9BdvmC/uXnbXjODvig7jmwqFPJwDnlqZ9/+picXehR3zsbonZcor7vse\r\nf6YsSx4WzVmdgCF2LyAO9gSBqcnaM72LftRJmXgL+EFhMAzBpAWM0CrvDYBx\r\nbPb2lPVNzjEo7zvBJYSqMvBCN4yZwROcUWWBUxXHdaO0iM/c404Qk4Oc/RDq\r\nPry9DZYaVoFuv7ZtfaI3HMcC+evm98GkCjJxLc3cNnZa0mFGUqbPvFwyQXDe\r\n961Ttm+qoGNJSJ7kd9/AZ5DP73jOVBX/e7qJB8r6fqHJGvZREOaa+l/3mSwb\r\niN2JhSqIgYpieJSTvgFS9OLPRXuVjzQhPtA/2Q+EaHoozvXylhI/vTpUargM\r\ngAtuCh3MWg2yYJzqtIUsKRCjb1qnI1lt+I3Kgph/wbwjDCs1AhO4B31DOFFn\r\n/lTcHJijkb/a6dJ46pDKlxKEtqzn6tjUoKc=\r\n=D9bn\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./embed/events.js":"./embed/events.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.13.1_1667958026800_0.8628160351689127","host":"s3://npm-registry-packages"}},"5.13.2":{"name":"@vouchfor/uikit","version":"5.13.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.13.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"38ec2769ab6cdcc052fbffe873dc639b69e21aa9","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.13.2.tgz","fileCount":229,"integrity":"sha512-sO2lj5HYV88BJ9uUGS5llijXfFy2T/4ZgookraOjFfltK3eE7VZjdTKWvvEGMI/npYi6mZgpzQHo0lfW+UiygA==","signatures":[{"sig":"MEUCIQD1Z55C+Kq3n/TjJ6Eh4s84MpYm0GrlySPiO/PEyAxBKgIgCdGUwMk9A/AD+J0r+STmMqjqflv3wkrL1NrvLSXBDdY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98192880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbMoZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRWA//SLShOTCdYGLiMp+kXmO01wnW+Ad1HdSXQN85kM4eD30XEIWc\r\nISKeWPh757HsGVOSaPjfifgvF71g+uAymtvRM8drpZie+FzA6R/XXk38Hreo\r\nDj3YPcgWQeUKl4luz4c+uoU2cWY4ldfRtb/HOn5S08fijGiPkVbS4igXE6Cg\r\nkcUd2jaeVIi7KUDpirGGLr+HusCUvdLlYYZKTICqrJswgmds90CRx2GFDS3c\r\n8UdPHSzm/v5wHShh58McUPZffxMRnT52/eMWbIdaN0tF5HRhPfYpk8+EndfM\r\nicyEmn4AesFOW38Rcz0wSKm9mSkakYJQpqfaqIiU3n55R4b0awY1oat5lYHn\r\nC6jkJoXsFegp30gsnfG/GEYGFhQ7njipCB3GtX3gZtyi4VpuqEw8OOOSGiwy\r\nyc/BdUJZhb7DHgbkrzrr380eCVPCjjtN2nRU6EqPIYLStUvaOL6Wp7PfgPRb\r\nS7srJcpT5w9W4IbRrbjQ8zlwBTaIcEggf6kwP87/tZJf5p4lZ2pGxD5e1tDC\r\n3OtC+vJpoN2HB2PoRYK3pqZ8iU39Ch+rEXY+hchwqpqhAJeqwPbHIS/RJ51k\r\n/pEcqSWIWZo7nufb/7HYixTVMy5pNKiludlnyv8aJskvOdM3JrdO2WFdwT2G\r\nqGDWVnLymwjtcSEkRfbxdjVl7BxAhfZFKKg=\r\n=/wl/\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./embed/events.js":"./embed/events.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.13.2_1668074008363_0.13848293116175858","host":"s3://npm-registry-packages"}},"5.13.3":{"name":"@vouchfor/uikit","version":"5.13.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.13.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f5a5ee7aa9ef82d9990e9775d72d56d798c8ec8c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.13.3.tgz","fileCount":229,"integrity":"sha512-it45Ir44+yOB1vPfUDvDPV3IkHlXf4sAY1hxw/nDHbiwdM8RMp09T5y2x+plU7D1f9o4fqxVgmkFnXzrXDm4NA==","signatures":[{"sig":"MEUCIE8E7ofoJpdcKBTawnWqwxTElafl9Q+ldOv8pefTS82dAiEAk3cm9PkYrGVkZW6oJuGfyqJn1AfhJ2jFA3Kst2XrdHc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98191332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcbXgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVvw/+OBHcnlmzIgwmCQh0KpB2Um6FnMys+vqES5jijZRtPoLcg979\r\nrrsi/QPt6iRyzVaR7FYyHsg8F1cIcxuePZ+ZDayURsUhM7nrMq4//jWyEueI\r\nGKt/v2ghwrxOYMnOpdoTH64LdE5qTBu/Whcpx8EfsC8Q6GlP7lYsbtNwjE0P\r\npeida/apnF2GEfJj077PZn2jtMQqZ0iWubWHPAfr7Ss5TjQ4qz6nGYlXU3Ut\r\njfjSE8MWyu852e5pB5eMxdwv0/XI0lmhtpuYd2bHVbzATI3wsILVapRa0yoX\r\nUcY22xZVdzthcYraXcLwQKaX6vxEl9wgb07QXKcoS/1jo5YYVmpUv2bkUh9R\r\nXslNxcWQq1YETETOt1GE62N4nCShpN5GX1Y/by5K3Tp2Kr0HbrvYbbfUfkee\r\nn6t/3atKYnpqdGytNIYAtwPokGoKmpWxW8g6J5sv3OrkmaFVTPUBSIuQt0Qq\r\nXOMTUKKIq0KjRFrFeH1uQd16yCHPJuXcsanLS1ibCZJUaYs/iS2a4z9VXkKD\r\nU1KcG6ugUNl08Lgb0wnwgcuwipV8axLF7ZgXSaOTLeuggnWqf8L6Lv+y5IHp\r\nMLvGaZwCqYgotcqsTI6F6OsPeww637nladTHAzfpOVRq14GXyMLqTASoUkcP\r\n1PnlX965cFTRIcVpKop6UQ6BAg2Tle0JKpQ=\r\n=qBrp\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./embed/events.js":"./embed/events.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.13.3_1668396512178_0.39475470101174404","host":"s3://npm-registry-packages"}},"5.11.1-480517c.0":{"name":"@vouchfor/uikit","version":"5.11.1-480517c.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.11.1-480517c.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"70de69f59e4c83b813fcb3794f0c3e54a888b651","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.11.1-480517c.0.tgz","fileCount":230,"integrity":"sha512-PAIjA40DlFBU1fuRdcPcPUbDsmatCa6y3Lw181jKmL0PtgAf3DUJtU5M9gPaz1mHnbUWt8dfPF9fiF4i0cVCGg==","signatures":[{"sig":"MEYCIQDDiMPBt0BW6PgJfub24KkT4oZV+k90jgBVPGNd6VOTagIhAKcfBRR9JyYpUhuOombd8CWHmB0cy8KC9NZLOmgsSIBA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103854359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcwlAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2bA/+MSKym2Y+TwOwdNERbRaqkV2wCRdSZYaYBw+yDDFnLrXeRP5v\r\nmH3H4NBGAX1NSzWRX/BAfa1iStBVYBjw4m8uNkljF3WUUua7Se7Bm2Yx9DR6\r\ntownaknzTmXgqk0a3VbayskEo0YC8xaUCndB3b0CTPI3NbvljgKpZyKNSw92\r\naOCFTtCXpaejo2RXhDK104uZgcqGxQn0PgqOzt/5HcAPVoW3ydika0wJcJbj\r\n3fNmuUmxOX9ZwlNL2x97w7BVhntPiRlan8Y9woPncfNq2u7Ao3lPi89LCfQ5\r\nk8X8z4YExe8D5ChlieAfNnGA31GJszrJQkMUokE6tV71oznCyqYUIy+JHPXD\r\nS7jxUchjF2m31VeafuDDWL4EM6JU1iyv1vO0bAoGJqeDS1bsUpoANmC4czjq\r\nZyMjpMHy9AdeDo4tkSjuaS0HKN//RE5w+kx1EKKNx4lwNBvYLrPHsOOrtpL9\r\nN/HDjkM4bc8oaoqj+WfvHfc0t0qL/5CgkuBZIA/Eqy/ZkZ+n9Ei2vvuZrIUj\r\n5wd7QL26ICcsU7kd3i8qDJ2YZdeB01uU+UK8klcX2fewtcqzeMttAfTvvyTl\r\nDX1PNtPJaIlrgZOxqBwbjiqApQU5LjO5k0u+8sGrCdp15GEvWhDt4UIpzwMX\r\nKuboNeugBfpwkQewedfLerLKtXLw/q2nf5c=\r\n=5yYi\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./constants":"./constants.js","./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"480517c32ab291b7cb332aeb8dbffe9c5625bd9d","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.11.1-480517c.0_1668483391736_0.4701514364201018","host":"s3://npm-registry-packages"}},"5.14.0":{"name":"@vouchfor/uikit","version":"5.14.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.14.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7350aab5f95c51b065d3a9ce8ae9ac2d5b5baa72","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.14.0.tgz","fileCount":229,"integrity":"sha512-BLHGLqjXFq2v2I197tgQBwVy879xiaGhvIBaGTY9zqKoRgQ/Pi990bR1sK2q7TOQ+aL/xuPjlcYeVVM6y4tIRg==","signatures":[{"sig":"MEUCIGY4pF+Y4IqUywwGfSYsrc2gjxG/MGeho65h4uPw/hDSAiEA1SGd3XOqwr3ylMyRglaKBCCf+AVZ8T0yGw21RizakG0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98062987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdvULACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpM5BAAm3vibnBir65wTGD+SUbyi3zUm8ghaoMm13fXwVAeefgo/T9U\r\nXdyY23N2A3KOSNN7UiO5Orq5UB5SthOX8VsK2NbwXgINmB7IoNIEFegmus4I\r\nm5fljJEptsDBucBkiql63paNowiKbCxRlh9ZacoLugWZQDUgf2c9MxEEa5wA\r\nhpn2knwlLCDzxQnna9+yj78RxRl+U0uhRhMXThxwZEryX2GwIx/9FKR3bbw+\r\ndjtwOHXD1DpsJonkLHUoyrQW4LrtxgIdGqXAMh/IHuv/OEAhgYq2SSFuu/3v\r\nNbKAmxKQo6e4i1tiKDxDar7kDviFwMPelrIjQyNHTfjtP0OhJfmHa+oif+U8\r\nIg7mNrHNfMvfvcxXz2lNS5Yh5+mmbtvF9gVurQ60vBG1NNgdjBUPjRPN7fJa\r\nN+FwNF7dSbO9sdhPFzBMHCLBTz3dzYE6KCj3dFqYJ076096gl32p0Pt8fsVP\r\n0scNP2tvYqpnrjM3ezy81E/MToja3Dyr7Xg4bhTx/5oq4bBAVHNhEaj1k/FB\r\niiOdLLbQzc2X2mFtku5NLLyWdDg3seSQ2WVtFq+TNtHzuTQ72A66ZweSXQLm\r\noOJ+AEhKRJMrETAlrQAj95b4/vvS9nqa2/XFLrI9KnUkjGS6aYJ871VsZmtS\r\n8uHfY2UUDZbRFj/kuEH7GD/malYtX34TWI8=\r\n=MCXX\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./embed/events.js":"./embed/events.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.14.0_1668740363290_0.6054427806953053","host":"s3://npm-registry-packages"}},"5.14.1":{"name":"@vouchfor/uikit","version":"5.14.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.14.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4c2f7af76eefd15ea76b0bdc622c22c70adcf31a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.14.1.tgz","fileCount":229,"integrity":"sha512-S/qVy6FHVfRr5EVTAUV1iF+mhY2cn5vEnuAvNnTNMUE+v0KMxevo9sXD+GXeAyFx3slB0r6Kph10OuV27CNrsg==","signatures":[{"sig":"MEQCIAS2sKms29sqg8IdW8qSm3iktR/kMoKq3nPp+1ik7cXyAiAujKlpOM9c7T1TGXaE9QPT/T5aobtKbKvR5vxQOZ4LZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98192986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdvVkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnkQ//ZvEvLZ4dKGh3yUCu9PgQJNHEBg+bPcjm5psoF4e04+sURkfd\r\nnM6Xu899uXJbi7YWCo/HBw+yNSyfZKd+SSfNOfY+ellUz6GwVf+2JKb4Nrh+\r\nENpz3GiFo1w17RnbO123xkX5LficX/uSr6Aa69+fXw65MT6HDwPWk73GcHGD\r\nPAznEbk+N2W6kbmVRf7Ih2MYvv4VixXY5IyqyCH4DC53I5R//OV8e0CFC9bn\r\nBubl9G2Ms4bU7lcp3tMrH5TrnTouVR5Vw3ttZiN+iSilN9BUFybH9mOpJNvE\r\nMN4dfaPsKn2nr3FD5gRPrQWImTCAjWadC67s6W23XwrCcIxxHLMKBvA27o+s\r\npDU2wIy8tTXYNMnT05WUpYj1/eMxLRfVskH/03SsKG3UH32APjQwXaNrhDu2\r\n2XFqjF5EL6vGJSOMJ+T8ML+ESZFrU10uNNKSmf6XtPVpKIUNqLsg52YnRaho\r\n1Pypq6fJT86VP3hSLSDj63rd7/f9za1TO+FvowQec+Yj+HrH6XPBQFNy84qT\r\nFGMlka7uichsLL38yrkALwIQk1Klph2b+UmFU/eruGwYjmz+9778YbEZEqEJ\r\ncXp/McaDtXaHNN6o/369nO5crbTNTeLHVxQcmLXVZH9DfqnYnnpjVNP7HPQ7\r\n8t962N2fazZu9gP1WxnGOOjlZ4LXuHyciC4=\r\n=98w+\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=14.17.0"},"exports":{"./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./embed/events.js":"./embed/events.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.14.1_1668740452334_0.5497432009979768","host":"s3://npm-registry-packages"}},"5.11.1-1dd988e.0":{"name":"@vouchfor/uikit","version":"5.11.1-1dd988e.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.11.1-1dd988e.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5a956d15715dc24ee4875685218bbc8ed4d8562c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.11.1-1dd988e.0.tgz","fileCount":230,"integrity":"sha512-VDlkK1IX8U9FAyHoXu8ZHDg+hE+dy3wsI/mqfRltdF+AmV0ZtbkclP1152lTK7RKAZ2ytDlDmEzcTkCBxO5plg==","signatures":[{"sig":"MEQCIBcOkrY4cegE8RTZfNGeKEDRXnRBtNAUyUqSElvVfNpFAiBWhE2giEt8xguaNUQDIBIimA1hPcoaxBYJ6JSODYKF2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103968949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdvd1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZ5g//QfSCY9IXdGzv/vQ88L0wZEBeckNHKvKO8/yWxWYF527xGdqX\r\nd1DHWHEWztRpwapCafPPD/iFRXk1JX3bC+jtr3J++uw8rw+t2CgR5PujnxFA\r\nLc1BVu+i+wORa2BuU7JUHS0TjLOjTAOU57+ZF996vl+UrCviTXTpr0OmzFLQ\r\ndDUoxmgXBh9z6sGPQCzqDD+RxMIOvSR+oe+W+ADM4hsExn6v1qaWU78E2rpo\r\nofEhms+I7nAsYtxq4Y4rLhIxD747iV6xtuxKupD4BK9wy4f1kTKhVvcPxBvt\r\nivv9wS05xj4Um0nTw+ZVcN9biUjlAflAo1mq9OLk1dcPUgtDgJ1DNdhAm3xp\r\nWGf6ZzrA5WF0BcJ7KTRJHz9YwzZDYvHZMNY57CDRkWB8pjo6MppVReiWYZFn\r\nyQwNDUt/v9WPJ0VVeLxg2cMM6OHut8F+bQjvPSNBDr/lO5n/A0Ut5jiVrqYj\r\nOzD2uSf/hkPDjlyxeFCVJsuGAUaAkKcp1s71oBxT1SkI9GZB0Hr7v3jWhoam\r\nqlJa3CP/mP9HpIpjcGoKCx7RsquHekvc2RW/QorwQFskunCE3ioWroi7uOSG\r\nhXm9ZB25XhNb5tQMnAyMFBgPbm4fawds60vFPXhjAE+21NBGNGY60pGcT72y\r\nCDKP/4KITdu1NJvQYFV6LFGy2N3fR1odGoE=\r\n=h7Sg\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./constants":"./constants.js","./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"1dd988e3d997b0fd8799d868e57e132a7e29b907","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.11.1-1dd988e.0_1668740980738_0.9824761107878932","host":"s3://npm-registry-packages"}},"5.13.1-df6601b.0":{"name":"@vouchfor/uikit","version":"5.13.1-df6601b.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.13.1-df6601b.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"38833125c79cc46b53bace3b4208c2d728fd5301","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.13.1-df6601b.0.tgz","fileCount":220,"integrity":"sha512-++Wv1FnNt/GgslR9vZ6QOO+Zjm3xnRnApeQ8mKixXcudYNLNV5JSGHYMLJnc+wZMsQHj0KZ+34RXdEnLXLYIYQ==","signatures":[{"sig":"MEUCIQD5oz/xBv3zDMJTZUVTuKSE1nfQrgNeU6Xf2U905Cxs9QIgFxn0ViTwwpaO3ly35V7bTDSFygs1XahYdQCDyBW9uf0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102096958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdv5KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrt3A/9E/vctRU0fZ9WRBi/4uwiTUZaW5/OnkyFP6BVFFKfMIlmNLbG\r\nA4fhl950vsEAZ4QFKWRdpUxK04eEXbb6JmKqBgjJF0+nFOgxIa0njQdoh8/X\r\nnwEOROk7E9AUv8NXmI/cBETdf626QWR7ZCznfmUGSLNOxHFlkMdLYGNdUiOL\r\nBvY4fzfignlj+f69niiXcmNJGO8W/xUi78igTKEiUwScg2HeGqu69RbtUyVg\r\nBqthPVqxvb83fhxYRCLGEHeWLVIOcEgV2i7U/zXwR+Xfwj5M3kEXtZfQjuJJ\r\nWJc7P5SaIH6VLE0QzZRz6V3wzOUzs6Hsx8SKw8bCXpE9yclNdxnV6o/hVhiD\r\nXxEPjHHXrUKHxUAjZ7S1+HQvygL+BBOF+b1fBNLZmM6v4DGZt5RlMIl1UruZ\r\nLCm5zketAhbb4XmTOQB28Qbc//NrUYPA9vGxGznp6mD0ZHCxzaah1s0M0fLQ\r\np4rkeDC1bmKcyMNHBzOahN9aVqVU505R4zINfR5yXMgxsZ4yI4LC8wEb2a0k\r\nr/DKIB/ZdAQcCzIh/iEX3LpRqzY45ze6iw1+M1bTEyMERXCx2j1M7hgvvmQ/\r\nCumvS+CqaJLMHRukn+e4lWXxyv+Nev3hcxldYHUrQN9AJdD/i97+TL2G7tzj\r\naAKsTLthmIuskR0JmAn8HFsRT2bRnLuAM0I=\r\n=3Yfz\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./constants":"./constants.js","./package.json":"./package.json","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"df6601bff8e6c78937ace9b5631ccbe0546a2b4c","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.13.1-df6601b.0_1668742729763_0.9865117894649316","host":"s3://npm-registry-packages"}},"5.13.1-7138b02.0":{"name":"@vouchfor/uikit","version":"5.13.1-7138b02.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.13.1-7138b02.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7170f7e0ff133ef40d47902d254c0565aa1010f5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.13.1-7138b02.0.tgz","fileCount":220,"integrity":"sha512-/YOc1GIHvIc0WZaHw85gw8rYpooJ9lApci8kw3zaofi8TS7Zb8MREmxdvCSY1+i3iiQWfJFgH7yQMBd5SHbRJg==","signatures":[{"sig":"MEUCIHm3O956CXIOqYjBjTba7r0EdK/7jAE9RsS+zELAfySEAiEAwF2kSVA883lkq6qkeJPFTJ8Ay1UrRaqMWdoAi1+2/p0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102031978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdwJ6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZ5BAAnfjZ0cf58jzl15QOCAfttSTnO5+Vx/aRbEHl8UPutA3AAWyU\r\ny0jPeywqo5cMUYDwyFBf6Xf3VqQPsYncBBrMs8MduabB6TAV0ly9/FlEiMeP\r\n26XsAMqK4iPHU2Oj9mQZe2B1av2ftuoZMqnoK5dhhrDWUvHC2Ti8c5SRdtsT\r\nZiexPouNsyk/ih0xM5WCsJdLMc9+k+yWcvJ6U1WL1gsUajPzaMHQ3XQbporC\r\nuzYtqFdDcOtx89Hkh9SWFzMhFLwv5pW29CYmbb5luraTlCICQl+Vzo9ipW+p\r\nbS2lHe4CWeqpQXs4c/d7mNDa0vblW/WLNl49reI++WLm1req2apfCX2DhC0Y\r\nV2F710bWhcwESq/Lyx7F7EOuccvriAELkjd9lTQ2PYABjWUvqO1rLS7ZA08E\r\nikbb7kSUhJuohw2pwIJSOgGrFpLmzC0DKVR82b+0qrY0Xn2D2MJREGYIBAZn\r\nD0JuiKWuADKiSBykHwLYdzFG9W2qCaH8UnXxMLLgW1BCGa2tyAMzUnfQdq0A\r\nqksYs2GEHTH+PWMxJ/w4Za1hz3BuPwwytaF5EZw67Szl0+e507AWkvsA9BQa\r\nrvwC4YQAaoT8L4lfHjuUVh+1qdwcQJbECpdMCyq1LgDKJLrV1d5oJDJV8I1T\r\nYoOob7s2yH45MrsvHGTuZiLtEmOAwESY2Yg=\r\n=e0DP\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./constants":"./constants.js","./package.json":"./package.json","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"7138b02073752923f78dfd41ece6f9ba8620f99d","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.13.1-7138b02.0_1668743802147_0.5407252099871751","host":"s3://npm-registry-packages"}},"5.13.1-f8b6f47.0":{"name":"@vouchfor/uikit","version":"5.13.1-f8b6f47.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.13.1-f8b6f47.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"799d779d430daabf5414d1613681b33063576975","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.13.1-f8b6f47.0.tgz","fileCount":220,"integrity":"sha512-2QGjlIMVLv7PA8Vp3S8avmdlBmYrV6yXO2xP/WgIOokGmHztEbwjLp00l5fdT/wIxT+RhBLu2Gf9UkJQA/nlOQ==","signatures":[{"sig":"MEYCIQD0mbyTyqf4blzINi6TKHdX4zksKhpjkyQAUsvR+zRt4AIhANxDJo6lwB/zqhBNl7lmYTf5Fq51JFyomvcWbyDkhc+K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102031978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdwNoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEEhAAj80cbsWpGxfwN0tBx+FseymoGpiriDKxF+L2jFTe9WX7lOjc\r\nMqIDWp1+50fMn6DVZly8JelrwOgK+ILLkboLvJhJACrne+asJVADZqhS+g0n\r\nDBfaYCKgsSIsmTl7/79i3jivOQekxnPVJMHAVeV3HJeNY5PD++qPpTfNhgb8\r\nsFXsWUdNHqaxgmHd4eHZLBUlpef7MGeOUA5ULGqGS2HJwL1nBL/zx1t8s1qm\r\njCn4dNqos2eNmWd+rMAsa0F2tATIreFxdDRQH3/6vtjigX6MMSDS3HhJofiv\r\ndHteEtRnUCmvsLcm/cCoIYagEF0xzj8MXE/c+fx5/l/FsR/7KPGghTXkmasS\r\nkBITqAWnzM2OEQBa/o0BhHiyo7uvrZYEpXMvbqiJ0EuTFxXWH+j9MTxi8q7u\r\nvTrS5B/MItVruxbD7MRcwLBjABSChXXPRY2ud5aeJ3LIRIus8En5XLEXGpcj\r\nItd70uswcZi2D5szO4epZPUXPdM3rORVTDBYxe31vCYfY3B5BMCDAIZXy2p0\r\nXvoTQQMxeoQODOZ8UHIC31PbdUf0CBmquK6hhQiCTGtqtgjyVSptBofoGVX2\r\no/Yfr42V3nYvXWpYXqhc7oi93HBKLJcbMEwjeruYNWvLzm5vITLD0W6fl59/\r\nF6BcC5wv8FpjQ6t+GKwY40Rv3PVHQm0S19Q=\r\n=CTTV\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./constants":"./constants.js","./package.json":"./package.json","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"f8b6f47df9f334723a13916d21d173182187c69f","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.13.1-f8b6f47.0_1668744040096_0.35576525244183665","host":"s3://npm-registry-packages"}},"5.14.2":{"name":"@vouchfor/uikit","version":"5.14.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.14.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"78283f32d20b91e548b5008f2585dc2040366ecc","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.14.2.tgz","fileCount":229,"integrity":"sha512-jYfuuQM8AMr2kfMTZRUj0kYdjGnS0IrVOMZfyv8WEH4K6iwuiPB34V2+SAC/GoGFQhJ6KFSxLQUuomZF5u+TEw==","signatures":[{"sig":"MEUCICeImxVXtS7htI9AmED+lyLQfsWzvM6hzjz31Sbi4+mSAiEA1uS1WYX2lvFyYFVc5DDbLosWAVq1nT1Fv08vQFmT0kw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98191438,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdwS6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDQQ//XFv45GfU7UvSguWNeGx4BTS+YKa7wVmnQMgNpHrFlumYsenc\r\nM3VWVJvOeEOsL4lElISohHex3NpDK6fvW3BkHsg7t0qeRdLTKSwB72Vt3wE5\r\nhX7Y8F+lFfTijjaV1j4FhPrRop9i853POq7q9F6dnKam5Fc/S0gN/uzte5tx\r\nHF0kSZD3pB3xJqFXXkSowN4SHZcN+/PBnL1nPxe3YpAoF7t/k0ClPpIavISV\r\nFPeGYif7be32zf0/dAFnvsvg4/8DTO/fRZqY8cX7ImlXqQzVcaFD1mKqogzF\r\nSnCF8nq9gXL17OBgOYFA5Z8QnQ5bvukGEbQoBodUbpk/YhQmQPdp++B4s6UH\r\nM7PT7kdeOc1rK9rk1jtABHlrqkfARd0UNY9g1M2v9eZnf0dzjoB9Wh09dWJI\r\nror9b1uA+avMLqFwtxDsGqZCgdVHbbuQaQQzkHde/w5xjVZK0FdYHH0U47bx\r\nTU4PTbdxmzZml0b4PnXiJTsuYDUCj72hzbJhqVKNruOZhA/av8EnhtYgGq09\r\nGAui+yQ+4rYpxUi/xGYDhaRJ0k5H1xobMA934AN5FKF/6/3FHxvHb4B12zUg\r\nZhTpAbaiGRscUwf3PReilEcLzs3P8zc0dpw/y0WXUdFZa+YnVoayljZrxmGU\r\nF9UVcnKMBeFK6V3vixZR/UZQdr71MwMzQY0=\r\n=KOk4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","husky":{"hooks":{"pre-push":"yarn test --silent","pre-commit":"lint-staged"}},"types":"types.d.ts","engines":{"node":">=14.17.0"},"exports":{"./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./embed/events.js":"./embed/events.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./embed/vouch-embed-all.js":"./embed/vouch-embed-all.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte"},"_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"6.14.13","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"14.17.0","dependencies":{"plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","@fontsource/fira-mono":"^4.2.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","husky":"4","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","prettier":"~2.2.1","babel-jest":"^27.0.6","svelte2tsx":"^0.4.3","typescript":"^4.0.0","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^11.1.1","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.3.6","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.3.6","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.3.6","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.3.6","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.14.2_1668744378046_0.5390226432768255","host":"s3://npm-registry-packages"}},"5.13.1-069096c.0":{"name":"@vouchfor/uikit","version":"5.13.1-069096c.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.13.1-069096c.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0f73fdce94835b6c28045bb3e6aadee0e08c96e9","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.13.1-069096c.0.tgz","fileCount":220,"integrity":"sha512-PEozy75LFCFrSyCJOo2VO+TCfspn0G+YM9MPD4fqxXfLebjpCDbKQvRjNYOT3Xt2rKKN0gibEsoHCM9k14NFug==","signatures":[{"sig":"MEUCIQDVrXXjQgx7Xz5xJS4zyDhAg2uHUXAJS0iNh1XRta8p5QIgbPfAmk/rV7JVBXwCiHejyL6AAjkwJvGEEH/NdAwIMNU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102032338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdwg8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6RhAAoutDvg5xsibfj2+s3zGd38QvYLfXidb51KLTeIuy2QKxR731\r\nr0XNnhag270WqgAn2maCrObfn7l65HtW/DHrqab1SC7u7By1aROEGm1p4VhU\r\nJzZp5fUIQkE/Ad3gYVSqFu/HwgQ0ICOn1X5KLYIyp9N1HN14nFNnXz/O18o2\r\nWVMEQFZScCh5sxvaBWukzM5KxEoqm4QR5pJ+DyyzASVGJ/GRPmNX9pRd+Aid\r\neVOkKmG5PzxUalHg4C6t/9/SLVEYn5cocTdlk6AM+AGaM0Rlnz+9pKkgJfFt\r\n1ByaFlcv5E/8ytXvlOlaTB6iSEdaPjV6Wy2AHfpvJmQ33ZBra/j7x4oAaqlp\r\nhlFGgb9QnhDY801lZjm6QzTJoMiXJ7LvcqAyuulkt5Guz4qpnOrAA6LRCPka\r\nX+kt0SAXmY+qRQf/hcQCudDq/ART6FaJieGYr+InsjrgsSmco5yR/5x8ZBId\r\nkoDTAWNjGCipVGI/hKr7lNE/m/Mq6CRQc0tVo7p0eMAkr6va97Z+tx9mwcmA\r\nXtwA48nXlr7KJW07+frRpGCyrgwIlyPvjntj6eSLi+2bhfGZ8i5u3fPqS3YJ\r\nEdwRZgeBzHKnjqSyzsRTNruClC75ekNBy64xHzZmh6JWAZfeoHVw8D4MY8aa\r\nUX5d+jqKCFzDAXJk6/L9dOOfVs7FtRiVJcw=\r\n=lWg7\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./constants":"./constants.js","./package.json":"./package.json","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"069096c588d449bf7ddf834b6f46c77ae44694d8","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.13.1-069096c.0_1668745276073_0.22961500601016382","host":"s3://npm-registry-packages"}},"5.13.1-f0eacde.0":{"name":"@vouchfor/uikit","version":"5.13.1-f0eacde.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.13.1-f0eacde.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"097e4c1f612c3f3eaf53d387a5505446fcd7f3ca","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.13.1-f0eacde.0.tgz","fileCount":220,"integrity":"sha512-cXLMzb9KRBoQVKKOdoAtpTfIvB8YwCJgabwDssutyo3Iw2deOCYtuCdC7GuR1J5UXLmEhAIM5VGs/3c6eHSE0Q==","signatures":[{"sig":"MEUCIQC5igOu9MOiH486PakPXzVJM7qZu90uBQ9YOluFnGPC3wIgUugiRLxv2+DH0SHKIYZmDMo+sLpJdPDdnrXzmqQtik4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102021067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdwroACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrH4hAAl4lFYLVimNe29nGBYhJa4nCtJqKEQGT3cMhbxECFP+QRJFLS\r\nj/bTzfD+0fKo0i7omWiCN94ZVUTjO8ocog/iQDj5bHLLpT2i1TMS5hMJFdH2\r\neWVt+iY8q/bRZy0UvksYSH00xWd18XXpa1F75fH6cTJYu4t9r4109MqMajBB\r\n3vhK2LRWMsK+kn1GRMYjPVxiBEnGrjvzPLIGZ2e+5nr9GVTlH/R0TMHgGfB4\r\nHNZ9qnUMqR2o8rB2LFeM6G8LvaaMoJlr3cv8sECOZKDVleTGNWyPFaoGLJB1\r\nge7VbzxpG9d1Rv+hUIcpzOd89JJ8JY6MMnTcmnSSkChmxmWTKqRO2WUnVsUC\r\nyclUMhRBB9sUR6FzW+ogkYPl7N43xZ1MUBPB8nodAW7nEDJCnBeKiw+SYSSp\r\nm2XghK8mmtyLU7ryzuvCLekrbQwveyjbm4sl61tKwRcSKHmD4b6h/1Fn7U6I\r\n1BTtbm7i13b2/o5QOZ+NfpPyUtK8J3aGGxeoGV8/kjgWj9welhE2WIpEKw1c\r\n9tUrngdlcYy/Y1arVTxpBAMBHPsCga1UaHVDsgpxrsMJOE2Hz2kl7Ooua65I\r\nbN/H3rpy/j63sBVXeDNuXvHfwfFoRRXUzjb5gKj8pvKfn/vM3irI3sr3pZtM\r\no0pyrzRgBfzimusMOFKpOrpvLZEaVVgwzUw=\r\n=ffH5\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./constants":"./constants.js","./package.json":"./package.json","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"f0eacde56d2b58bab2ac354b849efc053cf47d39","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.13.1-f0eacde.0_1668745960098_0.9978779070423478","host":"s3://npm-registry-packages"}},"5.14.1-010c9b7.0":{"name":"@vouchfor/uikit","version":"5.14.1-010c9b7.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.14.1-010c9b7.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2470b1781cf0a005358d85149411b7cf5983349d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.14.1-010c9b7.0.tgz","fileCount":229,"integrity":"sha512-sskBDJU9hGNuFWFPraAavZKEatDS1GIWsozdcFHyLFq2Hut76b1gWZuugjX8oJBTJY5vBbuGAbLF88IHsKidcA==","signatures":[{"sig":"MEUCICLDMF9uwlHHVNd1uKnjcpXUZu4Q3cRBS1P0wD3hnrD2AiEAqHbL34Y5RjyinzSCw8p/LJUeOxJiRniDDlmjlnOB2oY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102116939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdwx4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4lhAAlXciSzB6lBkLd9aCtwkMxkZ8NhfuUCDOWWU9jh3w/OY7psYf\r\nke+uZmP1xryfmtrGuMXxTsxqSpkJcu5cYkJdDgWr/wxYcStz7yO768wRMCFu\r\nkclQ/ZF+7w2O5YgOwLi+Cp/6Y+0HOtE1Nbt94xg8PSPltvhgaabzNYzi48hc\r\nUSDHco825zgrCeOpCzYZ4PEIBSkbegZdNrv3BU0Zaor3kxmM0750l+7zP6Vh\r\nH6yhcmzQZRAcG0hf2uoQjjJyrJ9SPfH7PiNvcNNKlJtcB4U8jQNwkV+pSyIJ\r\nVCvZ+HsbFuccwk67T1WjwMZD/+6aArmGyAlM9l1E6lo51HXkLtUQ9eh8lPzq\r\nPEyHrvmmSupAvRQEm7BThraGv8I2wTulJBTHfWfD0qPDb7vuXfdbbRM0D1e9\r\nyGa/BOfal500CeYWJpZX+NjdZuXp2WeKcBqFb2vBlsCSMryS8lw/7xKUuhkF\r\nOV0YR04EHhK/vtalN8MXlgws65ub1wVo0B5ktwArQBfuwTMcjAvippchxuMi\r\nYU9Tq5gxNhVWr7P967n23F5Q90Bm2EHpkjIBmYoXLf+H/C48YBAdSrV2COzm\r\nPGfQQkYimOEZUMIn3s4gJ6J1jMsYZLUv1Lz5fC73MkgxbM4Q785Vccv7Ik8J\r\nplp829nosnsQKUcpWvm1+TRypBG9Lhebqkk=\r\n=tR+X\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"010c9b735f18cbd70350ba8b59873e3f63b5954d","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.14.1-010c9b7.0_1668746360003_0.05893062021304596","host":"s3://npm-registry-packages"}},"5.14.1-c1dca64.0":{"name":"@vouchfor/uikit","version":"5.14.1-c1dca64.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@5.14.1-c1dca64.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d543d4bba93863b89ff3f906e4975b4eae5359ab","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-5.14.1-c1dca64.0.tgz","fileCount":239,"integrity":"sha512-nUTLwQTOA26hrvoGF+wSopnGbbNtLzStjnXW3fgdJCUeDtqwUvOmoyT0Waso0F+uo5nAjQKKL1vhOqMef09zWw==","signatures":[{"sig":"MEUCIEX14PSKQFsDIEZ5lt7Ei0DfNK4rKxZGM6YJtca7xezkAiEAljeSEATRoNL/s/m6xpRSoxAsAd4AWOZQX0XD84Y4P1s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103933064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdxSRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7ag/5AbzLVkFoe73gAjz8sHQjbU+LZNuR1lhY3Q/PdHeo3X2vVebW\r\nTR0hox9/wayoCASWAuPlpfyFtAdfwO+bBMQSTibxxaq0IyhreYFQeHLgkUgk\r\nrdziGReHds6okBTcWVlOqe9XSF3fsGeY5Qs3ATQt2ypeJaNHbU4WzGGWe0rT\r\npcDBiByWS37U0KlenF13cM6QganMAXAkpuEr7N/V3f03lGcpoibQ1hiEN8n3\r\n6py0GwNUpV83Ot08DH/Mbzg3eOF+kPxfYM5Fmi3S4eCcUndhnKc1i/7p4uGH\r\nkBul1jZDOSVRyyaWluAgP3S7sSNVbxZNZ76yh25BevHCqOctxOWSqTsLcS1l\r\nxm8Ehak859a2yVQadHvGVMU0laCjt0/Sso52pMEEMNsCM+kjr38BbekRzpO4\r\n8mCSLdsFRdW2fqRjDHFNXh+fk0MD67GufVE3YGE8SHxkHgM+c+jTVtj2HR6N\r\nalELImZO4q0vT+opZzZCbHYYdE1ZohwDu85BmS7X3utKakKt9HdGho9fNsyS\r\nFQ8iqjYjYxacH8Mh99QtIShgbH8WDr0BQwcGxpf7eTuG188VvNkcGknomWXQ\r\nJQFu+nQDh+umedHfCkNGOqhrz+YzjzXLEpXMV3XEUuuWa2HydRrh788n9M65\r\n8zLoWKnRUNDXgG/KvcVl7UtoJlnMT2T3DPg=\r\n=qkZi\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"c1dca64c826d51775db0e722a8c6e895c554f0e0","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_5.14.1-c1dca64.0_1668748432451_0.5469065747483719","host":"s3://npm-registry-packages"}},"0.0.0-experiment.b6dc83c":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.b6dc83c","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.b6dc83c","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"508ec884b7f5b1f8055b2d71712a6f9c601716f0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.b6dc83c.tgz","fileCount":239,"integrity":"sha512-fb+9x3AZQY9qzY9fRGU9ZUmzefDMNHOn3OuIFNHkPRytyzclLjN5BY+La8VkzTghWeUaalTaknbbKRkEzQklFQ==","signatures":[{"sig":"MEQCIC3TvGhvYE0VJg8r2IHjR5fZDTxp8KmF7cyBuTGsJosTAiBNbUcSDLWanf8PNxO3MZ3of+Xexb6YPNmmg4wxb/DyJg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103933072,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeuPfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpssw/5AJNNWJyllzhK0gP1aPbyg4VJGTsOxgEqxVbRZcqCxrVwDk0z\r\nRBSw85Wsb23ux0dgjb5SwKNyTP+cGK4VCu86wFHcJkz1FSPEqnhEil4Ig33i\r\nE9JryVrPchNobUhy+1HR3GyCFlxmOJdAdDPDrovWQYJb2EZx+lzvGFlLvMOl\r\nXbw3XTmSImztpS3nGZBPJ2kg7b18WCj0GLnDOyJw1cm9D+QCcBcS6JDRpUJ+\r\nHNTEEBDh8ueumeDqBa5nc6Dnu/l0lMmSLndLqFMKBdONnGwkPY7QBrzvXPY4\r\nOQVC/0MCPq8KYu8eO34gKzOGLV+kR5rdBPluYh8t5Rqy3P64cKW42MMgOlI9\r\n2Ky75cxCKI1MHCQf5iv6LJjTLqHhilF1L204arz6fY4n0y4m4oaOtw6TjT/V\r\nlaxsKhXmG/ysN8RbeLNFmydYkhQHy3oOxQxGkBbrW+gUF4FblnH3c0VoHnSq\r\n715Hza8tGdQougZQgzPsgWpwK68BigP/dDfsJWLkxP/vcHnSZsRqEvc4Tput\r\nymMGvJP4km+QU3AC6sOD6oWXgm/TC0WNCn5iBcLfTXcv4USm9976iyzqQdlT\r\nS53dd/E4J3BIarQrhFgZsPJu7HwRmfXb5zRaVgHRcNnAQMEyaRbGz3HGSaqb\r\nBSp0i2gWNjor/0603RZDmU4w2ZtbKGsnknU=\r\n=SLdG\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"b6dc83cc9848d5dfbb2a01ead5f8d23606e2225b","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.b6dc83c_1668998111085_0.24704362719700002","host":"s3://npm-registry-packages"}},"0.0.0-experiment.272d04c":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.272d04c","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.272d04c","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b68f5e01e3a8b4b87e999ba2a6e3965546c40a90","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.272d04c.tgz","fileCount":239,"integrity":"sha512-9ywsJuDlMNirMZdL4yj7Jki/ofJDbyj30HQn+oMmOCHLGK21RH/eUY0IbeMtnjuzLTBSLoxQnQDb9OyK4lDFrg==","signatures":[{"sig":"MEQCIEOuZedKX7zCOIQlj3V2j0x01Fktz1IJ8yssdJn+89/mAiBCVZ2epQgiDUlY5REFQCsp+PUXrsHKJdDFNS7iADrQLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104275164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfGjdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuzQ/+MSir3SEvcvLOSfRZCab14YwKSK+WC7jKNVojiijhOPyEsaMt\r\ndz7oI3H7625sR3Ew5maaAJzI66y7M5p8L+vBKqYlb+QvMXGT35cLgM8mi6tc\r\nw7iFrV9C5dAND4xyx6TJsj9A4uH0jYagSRe9dgHTFQSIh1TvbEVsCzpqSZlc\r\nqCJmgmDdnHw48vrMHfUyh47G53l1in3R64X/9P76IVjz81c8RUJ1dVyRXcVm\r\nRyMKC+H0v653fdwsJoFx+pswB/qIl73KR1+aCq/f7EtOPXWY+s9wkX2rFHqq\r\nFxhyveqVgXORW32kjQf1RFQXPD2sb7VOZAcguD/2dBWUKee/I/UCpc5mlTkL\r\nTaw8AhhNe6lxha4IuYVJwxyuBsU3eqrsGXvUp4yA+gAjHGKLXbCtNSPyyf8E\r\n9MOWvCJKB9pZiiT2jkP5hS6K0HxR5hCNV7e6bxvGg2YpTicHrkCp+0PlOvif\r\n0XZ18LIvKGMDkBtthfsPo1UzvDfUzUhUPdAUFHTDweoKICE8SAnj8EHnyubG\r\nSmSEx/lLsjmspQ7X+sTJmBFvHdlB9ArfXS41pTs8bPZv2u6lx/iIir/pIMOY\r\nCsG7YHwzMeSeroVKjFy6rj9ouGFWgdFNLn+BqfZpBscAmNHA5SAo8aPKM0q9\r\nIeZOr9R4nufQHEBKENCwAfWbtBUzzzn7XKw=\r\n=Vm/c\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"272d04cde1f6f6a466852406a3647f7236c665f4","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.272d04c_1669097692427_0.9454328802105367","host":"s3://npm-registry-packages"}},"0.0.0-experiment.8454bb7":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.8454bb7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.8454bb7","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"940647b01c1d586298fe37aa7ebc289fd17604e0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.8454bb7.tgz","fileCount":239,"integrity":"sha512-F1V7ud58QmMzmW/rXM1EAi+OP2b+HxcnIx++g0CiRq4ZeK0z1jE+dsvrcKwPQr8Skep7YpAeM5q5PpIgp1v5Nw==","signatures":[{"sig":"MEQCIAO2lRVGxIAhTLhL3Drfs2aERIPfxWrKTNlG3so7/DW5AiAe80KBllJb7ZFaiG13bY/o70dqYCYXowAUpxFwU4Acyw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104275164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfGxxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKIw/+NP9nJ1JBBiivfH+dqHVceGi4JBPkKbTO29x49UW0T8H2BbVl\r\neElnjCunESJGDCPK6+ptJZ/82elimOGIDBONb3HyBcHIQiq3+opXzwdCY/oI\r\nN8+wdG9otagS5pBOi4bM0Ao6N/LkhSY17t7YnQh5H5IQ6j2vwUQnMOFlUWTq\r\nRgSCwmFkbkPRlm3O9ltw5pmojFcdmbj6PWdKJIAeM+hA5mxVyOgUn63I70z9\r\n8CAD0CL6Lnj5S9WpIm9xqruJqcxilghSSoxccy+47v+TqxjIPOYvFKYzjr08\r\nL9vwcw1NaqRDjWJnDlj0R/ubm5Gc5VSziK2YZ9TnuJPkkiSxPVWLrePYYUOS\r\nEi7pJbPpa2vU5ph5OgRjIWCsmJfWjIuBHBD4yhxg1+f4g++Qk6VAFcF1ig3x\r\nWVcy6o2VXffMSF1yS5mVwdIpra594mHWmQEhp5rcxS3wk6WosDVyD+n5mD6d\r\nc5R71gGD9FH/fDlnrHTrdYO0aN9RJUARnLp+irgkh+AJB/GLRDzo9xlqakwp\r\nVKNJPj+xGnVEg8Rmdzn6Eduy94jzAykN/ddA49tO1WkwEdxuy2FDHO1JKBj8\r\n9P8io/n1SJBVVy7TyPLmAJ52f4DEnOoYDCcEE8gxdN8G3v7lB8+pQVxXCsnJ\r\n8xd+dZd9ZoO4RcdKixaH7G+pnMd1sZZE9bE=\r\n=kexi\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"8454bb7209a3ed280ed05e243df1a91358dce923","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.8454bb7_1669098608623_0.7388874369057348","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6970813":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6970813","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6970813","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"89b5fd93139798340c2db8526231f6dd3e0ad3a4","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6970813.tgz","fileCount":239,"integrity":"sha512-lpw4MB2Nu6h8C1Yh/C+ADN3ulZCASUELS2/ovDHUwZtEXW7Qn6O0nyIKqK6UQ/ZX5NrCBh1qoSO1mzlBtNr9sQ==","signatures":[{"sig":"MEYCIQCcowhmGSbuRHnwXSa0Uo6eKKELasf1m/xlpcvk0kn/zQIhAIa7A6KRm6Hfv1zPNP07vU05YQ/oZpT2zApmXown6Bg1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104275164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfG1pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvIQ/+NkV0yW+qEsbXBdq9Kl9RI6SmQlkly7mZtqS5EHqNvibrb1Wg\r\n1Wq/XB0s4wX+A0RqiW8Oh1kE5Wjj9fCMtJEV2iuOWFLRllEaPi34S8eSTccn\r\nj2ffCW80UuhuwpqTZKrV+eGSIUScdoRIv8Vm3B4Hu11z+C/YYZwh5QCLdFmM\r\nfNvQ2+b9jzmPK84XwYJu96eviYH/Q2maL2jr/Q9HWJCTCKQ/I9xMNuhGDBy6\r\nptYB7ontsMrXN2h9ecb9AFBGxkqIQPG7jjrRYSbcm4oHFVomzbsD3sPjKgVO\r\n/IQP93CHejpDBBSimSa8tktkSXHZYGBn47juwdTu2wGFItsPg4rN9CVIo/+Z\r\nxnAOG7ynkNP8Mt5stuCuc1GMYQUVT9mu5f1X5Oh2ek+zpByY4yz5WkTj4PhU\r\n3BAtm8XTDTjLZXg8LsdHo0EPeik5tr8+K1LdIM2fFtkmDY1jKBfbTvXd05CF\r\nejD/oxyBk8Kg1yqeKPbFFPyCj/Mcjk7Qymkjexoz5EZeOxzOQchog7Qp1KnC\r\nrQv65UHSYLA0t9XBvHNKyBcd22WLIFEHanB1W33DTu1KUbRePr+r5OfPXTEZ\r\nAvC8Fx9Sb2Nw8u4HStW9q+XHLJqQKQx5EenZ4lUjNkxyA20600oVydIkq+ky\r\n/U/UHp/x/RN1aIrOFWhC652gUM/HoMmkeOM=\r\n=Us1N\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"6970813999553c8dd5b42cbd7bfa1c4d5d483753","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6970813_1669098857149_0.6072677274146825","host":"s3://npm-registry-packages"}},"0.0.0-experiment.072178b":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.072178b","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.072178b","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"144b7ca66a12fb7ebd75efc7ee0f616c9c9053bc","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.072178b.tgz","fileCount":239,"integrity":"sha512-lN+GHkqLYDbaltZ4BHJLUs5Tcn+3n+bPMEorVZVYWFpb4HuNPyA4Rml/6SEa3A/Uk94OxVBDHkfSLHL5wAg/Hg==","signatures":[{"sig":"MEUCIFNTpxpYlfKVFdcOKP6eBXp3yH5zAYIWpy4SBVTort38AiEAxGHbYNCQwJmuAbxaiurWcqPoHmYYBq7yODix2ymNg8k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104273257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfG6uACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqShw//QRfjuqqcXdci39vrnFRsiyoYxhsPmdXL86eyu8ovwhb4KG6R\r\njc19FZw9f/FxKvPi6RK++/a8G9Z6W1YhGowHxWQPtctjaY/aVRJhXxXekeMC\r\nDSS8EA7loI3ZiLRUDZltjCELXwlfRkM+idc4n9cJFHDLFJttcMchrxTSu8mg\r\nfj+JkbiBgYVjfJSfutdg+IwJg8v4KlnQ7VKpW8xZw5UgZHtDgQo5iDE9/Ye9\r\nrl1GTVP9AJiQodd+OE9tMYgSTp38nQU1/SrNjldRVFwclzS/IoCIPerXbkkP\r\nurEBmvzBfOxBG8Whup8dEWzsvJMVonWO7lhjrEwYaqYboxRqwg0JmZ177IRt\r\nuhN0i1/hgLm9lYojvoA4RtkTWanV5OVKke+uX2suPh/pWYVJcwohFmDz9ayR\r\noVZny4met/UOqmThx4igUrJtS6RrMWgrKKgvl+t4Th3V8IHDSLCa2SPRlT9p\r\nUpYZvASs3bK9ktjj40YUKz5jJknMAnxJxuvxrLsY3Nwr4zc7TJhKnED5Aibb\r\nLHTdE+64JidHNp/HUjr+WsRbhxu13KWnueCOeFwfVvajtuKBNwIiR372VclS\r\nN9DL68w1l5WAxFQfTqqJwTDrSc6LUxbtnplB6geDK4ffbh0J9grLPrthUQNm\r\nvKY/auCyCR1WdFky+o/DkaAO+6jzH8aY0v4=\r\n=+a45\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"072178b41e6b225acf005ee1c90885722dfe87da","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.072178b_1669099181900_0.5004041822628529","host":"s3://npm-registry-packages"}},"0.0.0-experiment.7a37db5":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.7a37db5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.7a37db5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"46d848f70e050638876b1c9e9171407671ecbc75","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.7a37db5.tgz","fileCount":239,"integrity":"sha512-PW3zHj4/Zf0xC/anGfBaxX/CD24tFH6631v1skuCkN6aAKE1+LDZ2Deew1j1zUwcDV7UTLsZ41x6OGHjcVn/7Q==","signatures":[{"sig":"MEYCIQDA93GdmIETQyG9di7BPaUlBBPH3aBnCWxrEm7vsVCspQIhAN1/g+16eTjr/BfgQbk8fMZYmDJGP3cWEx6FW3zr3hoC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104273223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfHBtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5WhAAkV7Ohnuxva/pxkgSz9rlikZ+pVRfQWtNArZKqXGGp4eWGHtC\r\n2kJ23zSMbS1BEPktKZJqOZBaAvAR8q0M2Fh7SzmcIWcUQ4zqx9LBv9KRkbWj\r\nknXcfqBGmhszv8jBUSadUNWyTx5iMCXb+MemWVbyPzfHsAfThWOJ22o476bi\r\nb1IYwRGcq9pPb+CMVd7dxt7++MBn98P9ZtsC1BZAB3mi7b0xNKCBqMgLHGeI\r\nswhqUUKT8ThILFJb+agwLizj+9PWv2p5ZwEnVRG99r3L2ZVfIf/PhCVcjP/D\r\nj0FB4vYUKBzrzHX512daB+wiUiwPMV/CCE9AUkZhSoblzCGHuwAYzGj345u5\r\nOE4VGXf06CQOf5dhx/kkExtCqCINJM9k0L/ch+j7idICM3Qq527y9E9VlTGj\r\npS70+9i1ve3EZ5onBbOvGqnVkA+YwwMS9zVGMPv6XnBB3QQQnnOSQesr1mY9\r\nRw/YXnOy5q3KESrBvznZEqTCswWOaZmpaCaR1KQm/WjGlXLOM9Wrc1Pn38Uz\r\n1XhTYbnjkY4DnkH/bcuGyOwbCqnLkqWmU31fiNwRuNeJt2/zvmshEfLovpqk\r\nL0jcbt7hQij5zLCzNoFCcf6AsaXHgCcASO9oanYcUairn2EI/UXA9D/DVQPE\r\nwrDKshwEezecRoZK7MYjoV48UrMOY57YU+E=\r\n=vTWc\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `14.17.0` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 14\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v14.17.0\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit\nyarn\n```\n\n## Storybook\n\nhttps://designsystem.vouchfor.com/\n\nStorybook is hosted on GitHub page `gh-pages` branch (Domain name is configured on **Cloudflare**) and deployed automatically via **GitHub Action** every time changes are merged back to `master`.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn build-storybook\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`app.vouchfor.com`)\n\nOne thing different when release to production, since `master` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"7a37db53f49c0352acc26146333d81895055106a","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.7a37db5_1669099628959_0.5852295886239267","host":"s3://npm-registry-packages"}},"0.0.0-experiment.80c3672":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.80c3672","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.80c3672","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"be65a11e8d5834ce99d4ca3e20f6e34aa68d8be6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.80c3672.tgz","fileCount":239,"integrity":"sha512-j/ux5/Ym6nXwFEnaoc+09RRAr4W4fzVOIeegL2fdwIrAeqbeicdGwY7cE+sNACudgK8ODBglV7ZJNMOjv488jw==","signatures":[{"sig":"MEYCIQDtvQmgueD/bO2gLdgpmUI2pPtTBv4FKRRE7rQI4IECdwIhAIhZALtyW943mZfCFg69D8vGO/XjBr3HtEnQq2TlvRp8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104274506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfHPvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLmw//U1x7hlv0UqV4GOM8ocI0ic/6BdR0ZmPvTRYNp3sCEYMBL1f6\r\nw7t/LyMAv2jljc40tA8sphEqDVg6SrjrJJ6xt23z0pS5LDL0DMkrPVvfcHVf\r\n/nuCczJnsalCT8Hjg2l66T6igVlzP1eJcNuKkpCavf07qOSp+zuuSt/RzycG\r\nHYOYn8fekb9f1XJ5YfWS4/keo/3GJcxPisRruqqaCK69zzmEAS/t1nhedqDq\r\nKzvmvb1isCpfL8Fz8tjYMQhRNZFMGI/P1yd464/4bzysAj08l0LLf9tWU7EP\r\nVXTYdLbhboyFn8SJuMECZIqt9ljE3jUH8UJneVl5+wyj2hig8HkFj+mLZ7LS\r\nxHy5yyQ5YBgKFi8o0ItgXYX3oQwC4+bUj1A3ovip4iu3/maPgRQXXF/iI+BZ\r\nQPX8F2b8qgi945IMZvSnvJLaOqJAHJekpKV28RR7iwZV6h6SRoX4Ha3yQ+b0\r\nibP/6zGD78H+INnKjM3TDXt+gG7Y+lm0aNvaIWjpJ8cF261DYJEdBlE7uhML\r\n/OhX2a2o1kh1VAhKINDWUT+0Oq256o1zjmdYJs+R9/fQgMHYE2XJhWpr59yU\r\n8CfUaFeFP4kdwjqnNVxZKgzhhQMAOwZE0byC/3G8oNxjQFTUPgcjIz/yhUYt\r\nLtr7LH7Vz/c7Sqg4N9ex0IkI+H+EoCH4SEA=\r\n=ZBmY\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n### Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`admin-staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`admin.vouchfor.com`)\n\nOne thing different when release to production, since `main` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"80c36722325735c0232cfee22b2ba210a2ed3670","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.80c3672_1669100526521_0.6609876792341749","host":"s3://npm-registry-packages"}},"0.0.0-experiment.e6836b7":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.e6836b7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.e6836b7","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"983b928411e19bde963aee14679eb3b9899e9c6a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.e6836b7.tgz","fileCount":239,"integrity":"sha512-gkhHSvDwXdQPTPhHAIPl/X+dUUGK0uGMAQzbiI0DdQdzPc0Un+iAjRRJNB6ZZIVwftu9UgB9tjg8Nz8nOW3RxA==","signatures":[{"sig":"MEUCIQDLIZjFSp9OxFFbT5mhONJZdEBSh7YUMGe66M42BCbwIgIgAkCDMQtOKhSB89bWhfv1TMXKxTn49SFHLYg3jlOobDM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104268771,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfHaeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmriJQ/+MqdVoV07WsBufCd01X0f0A6raygbN8z1tt0vrLa89rhq9gFc\r\nSoAGbLyuTKqutd6ccwv9E0VMupgGLxA7Q4KS6fAysOTNi54C9Vks4kQgTt2P\r\n7zZKMIGqiHCyjVlAmfkzhJ+XKifnPhuCWLce+/5MTrAZV05Jh7lTGYGhTKZc\r\ntJrMZMqQhFR/JRv+X+4CNO3mjwRZMjqoLzxKljwW1q5NoUXqEyNMocSYeAi5\r\niuReeVa2T3hn0x92vxJB9G8FuueVyoHgiSOlHOPWMIc3r2vJGiZ/pBQQcGWM\r\nWS/L+LTYXGWOcmb1q8iNdMd2wB80oB+wuZOiPmquf1doR+1AJwj7lseOKsuj\r\n2IdiopKtjgGZaBA6cavqim05QcMuVjuDHm+x9UXW0PUHRCNJ+J6ZbCw23kCD\r\nO/WSLj06Nezkq241kTFuG4rnXYgfAm0SOSEG1KteljkJILrmyGWn3lv3x0Hl\r\nPpcq9Qrg2EYmZdETOf83Qhs0xcOZqxjD6dCGFUW99jcNbkO6B/iOppXYcG0I\r\nT6U0JVIkl3AskKu7ISLmHJi+hw0k0mGWQeBElp7sKbyoxkd1LkCm2x7wKzMi\r\n5npFLLHcalfJJlUunFzMFjyMU6opP/COlqihSFlyPhpBHtsLHYuOGCdUHcHG\r\ne0GDbY4zutI5fD5Dx2HrpxmnB8TFO371fS0=\r\n=qK7r\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n### Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`admin-staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`admin.vouchfor.com`)\n\nOne thing different when release to production, since `main` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"e6836b77c220463c6426e75ec3c2a3558d637501","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.e6836b7_1669101213937_0.9142850438308554","host":"s3://npm-registry-packages"}},"0.0.0-experiment.f0b27ce":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.f0b27ce","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.f0b27ce","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"aa71f159abed5c9e41e9c9e1fe16a57858e1ae8a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.f0b27ce.tgz","fileCount":239,"integrity":"sha512-188UEwPV4orIncpkAoTsOl9Oc7qHaTjcn5o3CH8a6NZ2i54b5m2g6QN6ZrEWPXVzrFpbgtL51WFw8IJZo6cDfA==","signatures":[{"sig":"MEMCIAu7Fuv6Mv2VwbG3EllutCrha2Whrzbwe/6QxDbpfwb3Ah9TFDyMcmT564s2htpL98+UoUbj/umDeE3bKn9tSES3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104277680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfV6MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMkQ//VBv/UHc90I1lV8huenwN9mjXV+LxzXTN4bm1IeNlT4IvR5fc\r\nWIw4U6JOmaAcV/hnHuDGPqt2GA3xPWn8pBlp9c4xB7rPKpKSBBT/i/AKtuPf\r\naQhQopAlDu2Lr/8Vc0LqSkN418AyqEpLWSpCC8uvK8M3C54QRAHB5NhCqSZW\r\nCaMxSuiD3wFqXAj/P6O/VGA2cAcKckxOvhK7PpCFuM/AdYwg9tq5U1nxLz42\r\nDyg2jPkXB1at6ozLqZeqmsUF2patQmrG/9DiPHG7srBNW8Hs1dKLQ4bM/NLD\r\nZqj6XUJMJzzQqZzZbfoC5Ul6i5vjNPaXAzZTx+5QLx7aq6Lc79nr7a9apAj1\r\n0bg5a226MTuoFZbnYiFiG5yBtsNC8xlafAIKWaIT22U5tProFwbAGmEKlrk2\r\n5jP/woi4mh02twrOOGk2I0VVE0eAZ9z+064R3i92+jgUcnH0CFICN9HSULW2\r\nLN/BfeWiHJd1gueHI390ltgaT1XIXViGxm40cC7PwJi7bp41z3taSS+97klL\r\nrCNY55nLGL18yJZe4VyRSRT8TP/pMPumSuul7xsQ+Cr5QD4IYFXI8nvpq7Fr\r\nA3t78ZS24jTArG/jr30tY49rHsN21D7M0i3nQCf0RB0BiXdJeO2OmokR3cEU\r\nfiYwsbEvqHJx2oYBwM32Rj+rDxvlGKJmr+Q=\r\n=pZOe\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n### Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`admin-staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`admin.vouchfor.com`)\n\nOne thing different when release to production, since `main` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"f0b27cecbf96c9d1d3e9ca30055cdefdae260d62","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.f0b27ce_1669160587833_0.23977382589585083","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6db4d4e":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6db4d4e","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6db4d4e","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f42d9d01346553ad0c42b3bea09a7a8a722f8592","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6db4d4e.tgz","fileCount":239,"integrity":"sha512-1uy64LSuCe74t1uPWBrz/cuOFEw8j8sWbeKMkQxyS52i1RDAeU6pPEVV0SLRuNOeiGl9qhTqvAi/RUt0fRnhEg==","signatures":[{"sig":"MEUCIQCq6KM6KhJDCaRbCLPJ93rjwC4UL+NofwQAiRApawF8hwIgc8qF8dU6VpRtEiedjJagMRfSHbHDiZXrlEeh8nHk3s8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104277680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfV/dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLJA/9GcWIPz5hoRjMbVAIBompcOx3q4NUX6AATQrDGGccngZW4X73\r\n4Mlv8QPnBbNDi6ouZmdPgH/HnfghzKMV4cSme3YB7I7m6jTPzr56khE5Cd3Y\r\nGNqhm62JIMzJ8x+reEEQd2WAESfnoRuQOCYVJSayMofqph76pF8efRdk6wDV\r\nHIJHzpyfu7Qdgcz0c26QOxyV9OD231RulKYHMzkGTpWozLiU73mwzRfKVbt7\r\nLWMaiDwhV2JR5DLofTEVDX6G6bDSUGbuqdh7rtFra2s/A/yrVbnFo2Tmcw8o\r\nZUtMexl8gDAGgf6IHrGycRNpYr66MeqPXtDiU9467SZsN35KYd52RxEVQsB5\r\n/Kf2J3i5SR1ElPwBW4hDan1yQrCA/3wkvOoy5YkOCnnT9lgHyobIVzg3X6Td\r\nmqlBQt/eQ0OB1/bD0qerrHoEK+s1ujGshTmxW6fBrpjvR5dFq3e/UnESWYaC\r\n8NFRD8e7G1pzC5HTztBgPJ4fLv5f1zoyDFl9vBIvVOBswWZ6iYananHyA4kJ\r\n9RfeCN1Xxi66fIY9niDtt26BL3mkcQ/NJgt/+/UPZvNgulOgXjDs9Vty1QPh\r\n9St7EoZ1aTHKxrbLNoNVY173RAKeZmfkeOOjQ/O6Z68t9NzCkPIrednJeJxk\r\n/oZ8HEZOeyXxdzj9mj5EGstq9yHzTKQ6kgU=\r\n=6E2w\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app](#test-package-locally-with-vouch-app)\n  - [Publish to npm](#publish-to-npm)\n  - [Purge npm cache](#purge-npm-cached-tags)\n- [Update vouch-app](#update-vouch-app)\n  - [development](#development-devvouchforcom)\n  - [staging](#staging-stagingvouchforcom)\n  - [production](#production-appvouchforcom)\n\n**Vouch UIKit** consists of `2 libraries` and `1 application`\n\n```bash\n└── src\n    ├── lib\n    │    ├── components   # Design System Components (Web Component)\n    │    │    ├── VouchBrandLogo.svelte\n    │    │    ...\n    │    │\n    │    └── embed        # embed Components (Web Component)\n    │    │    ├── VouchEmbedInlinePlayer.svelte\n    │         ...\n    │\n    │\n    ├── routes            # vouch public embed link (https://embed.vouchfor.com)\n    │    ├── __layout.svelte\n    │    ├── index.svelte\n    │    ├── about.svelte\n    │    ...\n    │\n    ├── app.css\n    └── app.html\n```\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n### Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd vouch-uikit\n...\nyarn package:alpha  # development\nyarn package:beta   # staging\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Publish to `npm`\n\n> Note you will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n...\n```\n\n```bash\ncd package\n...\nnpm publish --access public --tag alpha  # development\nnpm publish --access public --tag beta   # staging\nnpm publish --access public              # production\n```\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by **tag**, `alpha`, `beta` and `latest`, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Alpha](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to check Beta](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - [Click to purge Alpha](https://purge.jsdelivr.net/npm/@vouchfor/uikit@alpha/)\n  - [Click to purge Beta](https://purge.jsdelivr.net/npm/@vouchfor/uikit@beta/)\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@alpha/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@beta/embed/vouch-embed-inline-player.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of `vouch-app` for embeds and UI components, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app`.\n\n> Each PR should bump the minor version in `package.json` in order to push new version to NPM. e.g. `\"version\": \"3.9.0\"` in `main` branch, you should bump to `\"version\": \"3.10.0\"` in your branch.\n\n> The major version should only be used for releasing breaking changes. e.g. `3.0.0`, `4.0.0`\n\n## Development (`dev.vouchfor.com`)\n\nAssuming your branch bumped version in `package.json` to\n\n```json\n\"version\": \"3.10.0\"\n```\n\n### Bump patch version number\n\nEnsure your patch version number isn't used, e.g. if `3.10.0` was published before, bump to `3.10.1`.\n\n### Build and publish\n\n```sh\nyarn package:alpha\ncd package\nnpm publish --access public --tag alpha\n```\n\nMake sure you purge NPM CDN cache for package, see [Purge npm cached tags](#purge-npm-cached-tags)\n\n### Update dependency in `vouch-app`\n\nEnsure you already cloned [vouch-app](https://github.com/VouchAU/vouch-app.git) locally then switch to the folder.\n\n```sh\ncd vouch-app\ngit checkout development\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@alpha\n```\n\nAfter upgrade, you should see version updates in both `package.json` and `yarn.lock`, but due to a known issue of `yarn`, please do these before committing changes\n\n- Manually roll back `package.json` (should always `\"@vouchfor/uikit\": \"alpha\"` for `development`).\n- run `yarn` again to update `yarn.lock`\n\n```sh\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n## Staging (`admin-staging.vouchfor.com`)\n\nUpdate `staging` environment is the same as [Development](#development-devvouchforcom) but remember to change cmd to `staging` specific\n\n```sh\nyarn package:beta\n```\n\n```sh\nnpm publish --access public --tag beta\n```\n\n```sh\ncd vouch-app\ngit checkout staging\ngit pull\ngit merge feature/VCH-111 # Optional, only when you have code change dependency in vouch-app as well\nyarn upgrade @vouchfor/uikit@beta\n```\n\n## Production (`admin.vouchfor.com`)\n\nOne thing different when release to production, since `main` branch can only be merged by PRs (after code review), so you will need to run `yarn upgrade @vouchfor/uikit@latest` under you feature branch and commit **before merging the PR**.\n\n```sh\ngit checkout feature/VCH-111\nyarn upgrade upgrade @vouchfor/uikit@latest\ngit commit -m \"Bumped uikit version\"\ngit push\n```\n\n> When you run above cmd, your PR should be ready to merge (reviewed and QA tested)\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"6db4d4e3cbc958fd2b6d676ae7fcb5651eedab3f","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6db4d4e_1669160924641_0.5312648645875089","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d658420":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d658420","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d658420","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"904e74a18e40b410397708a9727764a98360b052","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d658420.tgz","fileCount":231,"integrity":"sha512-X3Bj37hUk6dhwzDgb8dARqkltKVffncOblU8w5MutD6DlrKiajYbH8U+bpZyOnxQCCPfav/b68OEmpw1VDQsyg==","signatures":[{"sig":"MEUCIQCseGb+RiRjwoa0XZMQM45Ww2feuaFjdCzDN15Xl0mTXQIgcAC6evKyapSctQNwx3wU4MoqHs9BtU9zPeuDqW5hu3o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102315387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfsfwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohdA/+MUgcOoRbWUfutQ1DbqXcHScsCzvilGW7ATtqNVja8Ni8rVVC\r\nFWuAk+3GLZp0Htgx66+fOu3w8jij9fWVF0gLr/f8Jtl0b7w3JnuZTnGzb8sB\r\n2BwtQv5LsS/YQOLr8152I6Dh9/uhSqgb1djXUlgg85qYXYP+0m07xTA6ZyF6\r\nWpBxVQfkpXDUB5Mv5EixanFC9JI/hk/QZK3KQZmx91Aug22eaUNhqO6AM3/t\r\nJVMOrKEYatnTXMdT7LjY57r8avzusErfy7EJLBuTXfQEVvheunyb8b7e33no\r\nu9B89qDDRBB3Jqk70GoFniyjQPf567NeZLZc9FT2O0UjtQ2AALynEL31yU0W\r\nzVoTewxY6voJBqnSFcCNFdax84nszIf/jk1BzZ542J4lyZAyTwNMIGCp9sXz\r\nwM+Gvt9jp5kPDEviNwKldaJRBzDHQdbuHvjs2+J/vcY6TW8jAyE2vgibpzfD\r\ntUgvo24cy/Q8Z6l1OquFueYUoXNgtjF5cjg8VUqxaCrBhNYzZv1ahi/HPKHc\r\n01O3wM0HOwo1unk8252I1gSv730igDiIdgVw1OCLOiDNqIB6RJsEG/tNDXfj\r\nr02sJByXWWcKRF+MTWQiyTGLEVQDBkojcrUi6AOMnnh6uF9592evvTWOiGFm\r\nzEaJU2/qYasovz4kmLN2A28D7oEN7V8XPP8=\r\n=BsX9\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"d658420ff0f414f87c1930e9f3c015fb72654b25","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d658420_1669253103945_0.8933981498803465","host":"s3://npm-registry-packages"}},"0.0.0-experiment.36edb66":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.36edb66","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.36edb66","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"31a1c8c8e7860c666b3d8b107780f0dde77f224c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.36edb66.tgz","fileCount":231,"integrity":"sha512-dQYYAIcSox478yzywV3GK3v3Tnj+4iAEKPYBaQls5va9uT9apxXBFXr/tzSdVQDQalAe1cOA2wsLxO7Zkm3kYg==","signatures":[{"sig":"MEUCIQDGQjpYk7HHxt1a1OD6wac+iaRrbSaFonQrP+ItG7kMjAIga3QJv88UcakmRQiUc8mE7SHF/V5Wdq1zp3sbiLixnSk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102281974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfthrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVDQ//a/pC/gTvoTB7n8pIj/nvckyJWdDmMtuFX0re2Y8AwXn9DYzR\r\npWnwc2HCCk8y0OCn5pBm9kPyRqqCqfKIQF/7T5iPGw/0KVWYOUwgAIGbWL1X\r\nTKVgcDKeX1R7ioXMMLNxh95QGClmEsf8G0zBTIa384cgCAQBnS/LGHvsQ2Wr\r\nIOLCAiHTfb/HPXpjdWwLEU5UpRAnPoACVGq7WW+cpVq3r4V79Ezt0qpVfDxE\r\nE2Lt4KFoUs2wTKp+CyxIWpZI81xqflWvqIq80LHLtIdLWsOiu7dqgEijYQH0\r\nt/5aKgZ2tgihYjKayW1CactdS4OW5mQ6wYkYDbQBLEK0Zf96OyOdmjfNQoun\r\na246wu1qQYdmqZpJKx7exeinPczeJ7zuAZncgJEIxpbGuYiXIQRqZ7V+mZZl\r\nbwzpE13z1aS2rSQVDgk9R6RMifc3VxZvLqgLxy+KplepYp3X3BRytrpoxfnN\r\nbEaDzBuI6dvRYwkcXm6FKhb8HqnHrQAw5K7zsTIXLmd0/pkSS39TROM8fVIH\r\n2L1QsB+2EMjIgtcZ2Qpsr4QPVpe7myVV7Q7mZznR9162Ycy9yFyu0pVnEJv+\r\nLPkkym2zn3T/JNNSSbu8BbtGisI6cqYTUhZNCXVa9p9ULnRCdKR9Gc47tAnq\r\nqtcdrL+ti/S/RtLUs92B76t68v3u0sJ6v9U=\r\n=kIVr\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"36edb6631e47247ef4fc948c6ab53b80e26b34be","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.36edb66_1669257322573_0.42285250281954045","host":"s3://npm-registry-packages"}},"0.0.0-experiment.b471d88":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.b471d88","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.b471d88","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c2dfc8b9aabdf7c343bf5c054988516452da956d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.b471d88.tgz","fileCount":231,"integrity":"sha512-4GbOxnktFgGfYeqvlyte27ScljQmDfB/MylLttLFqyg6qh7rJsLNVl7w2qqaeNFKhJtAR7i08IMjt6oxE2VEcg==","signatures":[{"sig":"MEUCIQCqZbs/4CnzsJwHblV3ibxwYMo2QNhVEzJUsm5+7eaQEQIgCsIy49/S06dwxZEe1qPaHbE6dgH6U5zoqqa582a4KV4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102281974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjftmNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo35RAAjeWX+5WOSAkPdWN5+sS2r0sZI0q7u4OihtcJwZjC62iNoMnk\r\nadHHcmN/5N/xb1EQAejget0t9K+1njjQFtCH75z0HcXHi1MWExStnS8zdcUc\r\nCnbdlOw340EpMPEcqLwZHCAQlbO/poBlhDgKLspYrnCqFVnoU30+ZvIZIGe7\r\nUy96dtNRfKcmFSjxZUPe4A13WLMQmXEgJPN94I8j5icpBCSe3x/vwYXQ67++\r\n/BdcyXDgodVI3n/shbB3UEJZEFP/0fxuorfEjcYPlHPCRZVuapn92IBihIhP\r\nHoJyrphz8g9mFRneI+etAM36P14PAy0cqTe7RDoxfRykvxyxx4dgoQaTp68E\r\nz8BmSupprDJCKo+dfgykbR29Rtrlg5hppoyLJI1bKEWYJnMUPKTTC0iPQFPs\r\nfBb67h6SNJtr2r4RRvvdOBASGxvRDBLYOYtwMJPQ4QPmlcs0R/AjV7OPUDf8\r\nW/aPrfhvHVWpbiLYFRYyAPcpWtBm2jYvQ9xZL1j8Hg6DcUmxW6RYlouLVU58\r\nNw3uAADVql8jA0O4NO9+ChGX9zc0eMMZHEMQZo45ADTIMsdrjUBkLFWMh7Ul\r\n+IbGBliPxW+628KSCwbpRrXnjmET5Hj6LdT1NA99E2B8QwxSsxYVXm5XdSYS\r\nFEiHXi7AQ1jm/fkvxad+s4dh0XZO6rpnmEA=\r\n=4gNU\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"b471d88098ad7efa860cee4dfa3d16512ea19587","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.b471d88_1669257612638_0.7882656356609667","host":"s3://npm-registry-packages"}},"0.0.0-experiment.c388d90":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.c388d90","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.c388d90","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3c77267107f78c6a53c8112107a5fc4b8a89ddb7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.c388d90.tgz","fileCount":241,"integrity":"sha512-6U9fT3iLacGdajIREPIibWkqGKnrMXZxt8EPO5til7e7gQmOZGzvM01srop7vsiB4mokFgXN3W2fQ6VxdURhKA==","signatures":[{"sig":"MEYCIQDbrDbxOiBLKxnIjSpTTuA3tLf+fyTsgMqFXm0ZurzyUgIhAIidmmkWFforWqsS0N1UygXz0S54MAdyJ1ngLD0fa5cA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104394862,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgGCRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeJQ//Z6WJqAQhGW6r4w6T2NKacn1eiEQEPME1cO1dIZgnkr0BauJp\r\n/58pdxHinlLBfmB+UqWBwT448f8iJw//MVI6ZOIbTw5GusJCzJBBCHQr9FsO\r\nGKbskRDcaF9fLdgrLaR8Qp9beFf6rGL48dalCEiEYT7NP2SGSSUPvofi1dKy\r\nlSEJmMSrfnt0GxqfXix4ayRdMxeENF/d0NoKKD6gMkHAq0lLrU+M6h2KPCry\r\n4U/a8ockiHFtNIvImw0XAiqIGG6RkgHAsMrbz9Amh/yOwOvm6O90dpAfzV5/\r\ntua4WkCP2zroWBN4LOFSQVeRQbqGpUdaGtTeRhCscAqiFnhzUhEIfp10BpQL\r\nFAbqC+xLEqiI6Idyf4nHi5UzJ6tMRSWy2W/c11hxFgSVRTb7ZeHkXEcr4qGR\r\n2ow3kdWPq1dqrvKC1FG4BGLvHJgo65xNOQ1tn2pNLG9G95s4EVlPcZd9lFMV\r\np7giO904Oa/WRC611iV3v1lWnPH4b0xSOFfghBVRqvfxnJKigbBihCREDTCY\r\nLZb7Rv3oL/rQqsghRvdkv33xEHcufwwMcfZjwAbv7hd8xJB2zrLhLK4zrKyp\r\nTYB9YduKXi0CsWBHkgR0h9zYHj9fvyLMienjBsD1ZzlijB4CfPlCcbxQ6+tV\r\nOA4SS4QWDcBPvVBG01uNFHwCyiAnoJcsNus=\r\n=jTvf\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-circle-button":{"import":"./components/vouch-circle-button.js","default":"./components/vouch-circle-button.js","require":"./components/vouch-circle-button.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchCircleButton.svelte":"./components/VouchCircleButton.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"c388d904547f951e4984502b0b7400b99dd779e7","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.c388d90_1669357713026_0.6961501895887328","host":"s3://npm-registry-packages"}},"0.0.0-experiment.e9269d6":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.e9269d6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.e9269d6","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5555631e5bc47f8fb714a5d537a66b9e7df00328","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.e9269d6.tgz","fileCount":231,"integrity":"sha512-rTsKfP2Zzt4yOv88WsyAy8JJW6fK/13/Ajdoemf+kVSNFNDUnWlUr9qik+3h6hhFY4f0iydqQaMFhrPeFtcLQw==","signatures":[{"sig":"MEQCIBzI3xs+UFHKJgegQZoDGUtyi1MsgzIY2ibZg6qHm0b0AiBgrbALqEhS9xeB2O8Pfn569Kf0mbWNZlogCoDZF3gs0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99134445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhtnNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVGA/9FTzVg9DOXrCxXaP3KIvZuYj4jxVJq0SR7bgD9CzeZg5BbD/T\r\nCXPbtCO9rIO+t2kKPypY+ClOgY4/8kk+zBkqlM2qWjmUFE2FyvuU0/lwnuxI\r\nAyaQF0lxK2x1ID5C8fYpxG1u2e/KK/K5/7ZNBmBgGe58yJiGLxvawLQIEvDz\r\nyo+1wcp5+L3jcMqB3BOF42RAcqlR3Wf6ubI6/9+lhTgfWR9+2i7JA75nCmfA\r\ncOr2kTxekE3OJICFlNZE2O3Dq55KCYqVm99bYxdSxeGrBAQsyecXxUSLWU/a\r\n4L2PREbP5sKlhbRkU6at3TNPOTfZD1JUhpK1YXG+PbqfuYv6ZPSz+tmt+r7e\r\nai8oucP6m3FH1Gz3nzsHbeltV3tuRPZJqNzxmlqqn8SWeM/7E/ls/mp1laSd\r\nHkJZdNMYN9nZtaPEKrTgJhUim+hsGnLZhj+lVG1D0molLvP5jEJRjC6f1VXG\r\nY1Iv02GlfFKICnyN5rXiQvyKyJrA/zBYRCn6TMyX18o1zc9zFIxOrtmVmFeX\r\ngnokF5F+K2vVBCGc1RC1m7mIheI9U9QXleXFYGAj1Jb0yiV+/sBpVsCXre/t\r\ngrbk2WNxzyz+pgT+Du3/76c7IgQWAmYwCzfM+5wGRMitzlud5CM5fvPQ2rIp\r\nAmLtQGoWCEs/nyc3e+IUFb0qwaeEsRL3SHM=\r\n=qCt9\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"e9269d6f4969b3fa2cba8aad1ab82413e4b87bd4","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.e9269d6_1669781964794_0.4320808064520747","host":"s3://npm-registry-packages"}},"0.0.0-experiment.c3feffc":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.c3feffc","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.c3feffc","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f7b5b586f272e0731cce3d328d6fc6ce537ec3a6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.c3feffc.tgz","fileCount":275,"integrity":"sha512-xJhIDX92RaIOSpf+vyDc3r+T+36b4AvP5TLZFuunDMH6145iXX3gOHgVUt3Nd5KtPQ+6jY6XvbUPPW1sMyng0A==","signatures":[{"sig":"MEUCIQDBlnkmCESW2oz/9RHSDCdwE464B/zendVVWwRX2MNWXgIgLqSeb86wxOBShXpWGmzIe9m+s6WUz2wCYFVNE/2EntM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106847469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhy/hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp99A//QGhde4Bm2zocTQny4KkpFNUAxVxUxBFWFpeC7/6ccpjTcmzd\r\nfv891LX9GhSb5qI3chjIHsxdFQ+xqKvSYjO8zEjEA4GGPbDww63UVpb2V2Rd\r\nk8wYKaUiH9okkFc3Of0jv/5PI3fz6lsNPcTb06WA0lo8HMiwNqsMTnbKiQvt\r\neeZpQ99ImRJLc7cEcQO9oKujkBuLkF9tK0LS0k/nyrI19cfsuy5CecZrz3vx\r\nJ26tbsZXBKF3HdzuUQGzY5ia/N+d8/6XUaxIrMHGdh5TXvVEshRhqtpaqsYA\r\nvFLVEBp/avTgxIXIOaclV9QMRP80RLY0erXEHywTrvdMd60jVeOlMr5SY0Iz\r\nImKq2yJpGtFt7Zb5xqxfkEMvS5V4ecCMC9zBZMKR3qaNbXdxO5PMWj0yqNlv\r\nhAyJ9AJzHYrvWR+4vx6uCL2IuRBOfJWEfzAf3DlSx4oC0hpi+lIcO93LsVyQ\r\nKZqc15+146k0uS3s+Y/ce94s3gPf1Amo5swewjC+WwyctojY4FrRP7sD1bb6\r\noRo3BhSHKwRjDxvqmcAadZOxCqWmjgMjb0p6kMtpIL5ZXM1MEkTpj0ii58jf\r\nSuY5dtlvzyx+URx8erQhAO2e9pEG74xlOULWZUbR9i5wu6a5c9wblm7S6BWP\r\ndWldQaWWNNeezv/dHuLSEjNl2prQKZBaauQ=\r\n=NZlQ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./components/vouch-menu-item":{"import":"./components/vouch-menu-item.js","default":"./components/vouch-menu-item.js","require":"./components/vouch-menu-item.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchMenuItem.svelte":"./components/VouchMenuItem.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"c3feffc9939a8df197144e102fb7739439541dce","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.c3feffc_1669804001086_0.798931140677444","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9e87b0c":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9e87b0c","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9e87b0c","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a745a4feec98b481019ccc9c2b9aa9f839a311a0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9e87b0c.tgz","fileCount":231,"integrity":"sha512-e1RTVp/HrCo5DT8c1PErUko9G1+3YvMdusf3bK6uPEh98bDjuib2xdoO8wTHKa2povNEZpb3DS30mQdeUrwdnA==","signatures":[{"sig":"MEQCIHbRqnBUDHAAfDGqxQgu56c7e7nY/Bp5mD+qr5MPgi6UAiBd6arl9T1jBv6GMJZIcO8HU1IV2YXtN/3hs0Rgc6cT1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99129549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjh+/DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5JA//aLgDiDVSqFilnHhi5svaveIwRn0XlzzYsRzzeixJUq73AHcC\r\nrsIf+6Y+ufLwrOYTFXZuh4pwtLkKjXKGB3uvA41WXQOeDBb4Q0OpD5KT8vA8\r\nK9lt5eaQ8L1jzpMe2w0oaV78xXjVt5CU8LwZYgq+QBG/hmxcrbxpSIR0ucz7\r\nkj6gzrurpqRTfxYY/c84riIT70sbPVDdJDD0UYjCYMFHcLIIanlOF9KEw+ua\r\nd/+Fdxs/+nQZiH5cTYs+yKeZ8VynZEhoOoSGXcWbDgnQazdXueDZekvFYbeM\r\nuUuloatfLGbk4XMt55/ip5u1WhRfzjM1tElG9SYkUfa71LCyrjCmdyBx0UgB\r\nj03lB7pzYj/LFfDkQPyi12mgeva+jj//CLSJAkYNS5dvRHB1In1YDMHrA8mJ\r\nUwhQ77G2Hdb3BSwP0s9CANmCSwCwwXHYT+ikvq3vrZneIB3znhaujilHthFv\r\nf0fUEoSivw4zSm1tuYRHUvR0Rkv5XWiVulOplUIQKcertxrsvUYjVZEIgfIK\r\nyes8oITL+fiZ1s8rj+Ivkec4FprHEDSBlKlNZN+MUSDSnQwPjv8nk8C19nOF\r\n4rWM3zJZ4ZMhfiEPv1CArTiHFKECTFk5A+C/yk3g6oxJgDGqDOvFy5U8dD3O\r\nW8byzJYjM1t3Gj1qGi0C0CXEFww/+QUu+PM=\r\n=porc\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"9e87b0cb81e37f93a6158dea0ce67794face7a6b","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9e87b0c_1669853122843_0.03311360152542786","host":"s3://npm-registry-packages"}},"0.0.0-experiment.1a4afad":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.1a4afad","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.1a4afad","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c2d22eca3b8380cd7b99e5c40cc78952ffa9aa57","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.1a4afad.tgz","fileCount":231,"integrity":"sha512-5iJYnmi+INDXt3yLNhZ0fxApcAIbv6MGtNSF91qZjQfguDWtFSu0CpAMfkvS0sgKsgoL07yRuobyi654/3J1qw==","signatures":[{"sig":"MEQCIDwHVN+ojxJP9v5MI78dOGNOmkALYJoY9B8GF1Fha45yAiAygJerm8BRjX0eBD33GGoGXH4Ku0P337QWpiUyszxmhQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99125330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjh/oeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwSQ/8Ck5bCUSRmpfa8D9MRr9odAzAyvvQINcP1Qhq6FezwF++aJw1\r\ndH4LjDxPSxHh1GbAHGrnonQLOmHaAkLNPOfWUwHB2oitp0StJI94hfb6c93X\r\nFAjQWqiMKlPidQO8ak6tX+hivwLWTQLn7hnPfgYq1OZcf6tu1QKT89P2T0Pb\r\n8omqTseWB4uS/RQGMChwrnEq3dMYc/RDI7RTUPLdVftGGUlgkGPhIQMsoWvc\r\nM3HBlhOiiS1nK7w8Y36EkF3v6nEIpf4LbCnAk0fNN9Smzhzz+ex2C0jYHmXi\r\nC6LddFuw4eGqeMwKdkCN3u4p5IsTQVKeou4qRsam0uV8cy/L5ZuBm09k1lR+\r\nKel0QwbUwMTcKh1KGCACtkS9Dxz8Wo4uaemBa/r4XE1GuVw7p2L0oSepT7GL\r\nXN2nLnGJgY/Hq1wJwjTHhPU5msbFfcpQeWVG6An4QmZT/glkSnTwU55dQ69r\r\npU9694ejTUiMc5x3UJ6SKLdaAJGGuTJMRjODV3aKDfISDKPt5MAdItt4uKU+\r\nqNEJSEyh0A36qnFhxTr5adEtqsFcmh7hGIwe/UuZ8R3pmcT118RufzggQFr7\r\n4RWvdQfnHKJMa1UAla9STZnMWOREBwn11v8BECQ0ZO0x/iEqUYAhrb+MlRrd\r\nx//fiMqUfXp1E4HFjjYgjBbNbdrqx/i4r/4=\r\n=YDHF\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"1a4afad462a1c514545e92d9c8fc5cc843c6ee2c","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.1a4afad_1669855773933_0.3893835849084881","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d0878b2":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d0878b2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d0878b2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"edec7b453310a106fd78d65acf396679e05a1d5c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d0878b2.tgz","fileCount":231,"integrity":"sha512-ea8XKVV3D9uJVE67/o0CqTgVOIKm4QfwJ70TWxIze6dJkbHs7W2yuP4JPG7xtu8JyTSdO3gt8ld8e5ZVKBjdsw==","signatures":[{"sig":"MEYCIQDqmwjZL82L6aIa0CsHObRMFqPCo1rPuT6T5eOXRe3k+gIhAJ3cXXfh+xrBIIZ8Guzl8K7na8bv7+RU+PigVzwFgMQh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99215863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiDLZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpD3xAAjdXna8eRqzJyu97VoroV3m3mNKQP8utWgyYwLKGRw0Zeu3s4\r\nspvaRSkFgEbZq64CH/rrEUerIveIjvU4BYxXbT6uJmkbepVuZEbLqOrf/uZM\r\n0rRIyD7FF05CUdnh6IZarhjLlT7pLJQmzI0tOnsYz/fw8xBzZqwfdT0h5JMZ\r\nJnKEs8EcFrNw6PVFbW2cKP4CGdXZcEJdrJl8muWEtilFyx+PlCFX9Zb4vzo3\r\ngV7O1vutoIrlG4eeXaXjTxoQ2aA19TxFYvQ7F667ZuVdpQBNos0pQiiQKBzk\r\nTr50Eyi36t2295MJVL1PZeXvAK1WXbsr/HmGEchUT8RWL2sM+OX5oRckdpLJ\r\nezmitYLUyaGaMyKEiK0atzQmLoBCgyUI4p9bYoKwTIYl92WOze5c+bHNzgrA\r\nKndD+p30mYAroy59qwqjiS9THy2HPfm2MiTJr2WMKG64KThgufYF+n3+p09f\r\nhT9wwr0Bm2Kj91Jw82lABxOMoDKQ6Uj2TSqBWsA7lr2OHImAL9EmGd+iFHPg\r\niKaz+yJJEcMIHiwjGnn7KIIvGaugUR+FpHxyHKOt8y3+/IS52EbdxE6+mTIt\r\nrkHlLBC+3NFJumtYtNiH5OwN839Byp+nBAiXjteaIeIL6bJVyhpqQ+W5Hjlc\r\nZyvuz3zGqKVimuG3yHcWN4GD95FSMFjHM/M=\r\n=BIwn\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"d0878b269f004681952492f6a83a34ed20d7445f","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d0878b2_1669870296817_0.4656381115616848","host":"s3://npm-registry-packages"}},"0.0.0-experiment.2681790":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.2681790","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.2681790","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7196e122eb5593614434596834ff122bc02eb07a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.2681790.tgz","fileCount":231,"integrity":"sha512-9jHDV3M3yPZ1hv/OOybi+HRFOiayux08yoBwrJfApUgylhSE25h22h4knTAEz8quW9Hbne4qALjOL4A22LbavA==","signatures":[{"sig":"MEQCIGEzVvltQgmBZLoZstTTvH6IRcMTEemD1quQEznt7p3HAiBMCtu54eYrPUasI4iix/zF89PddUZtHRQ5cENQqDA9pQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99217548,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiGjwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBJA//fTOY20ZTwJ/+gxbVqzy7ivEeNuLrzz/3tVJMXs1ODAx2rIMv\r\nWYQpl5/yEa2DxR6x7AKC8k7O+sc3sTw+49OFwpxYnWih6QUqZiZQoawr0d3f\r\ng1tS8qsHzHYFQSRL/O0z5tSRhYEeSD7O+dojqetwYxYv2ztLyDOcOv4FkJC/\r\nnEsOvBvm/j4hPz0qr7T8h2fns5CXXlBwlvuxnYjS5gy5E9diDbQylGgoABm2\r\nLCQ82yzHQRMlxBy4CvJA4F1q9AueUoukhDTCuS4ortLya1wvkA0DI3kjchCN\r\nnYvisbgadEOmzNtUqwmIg3DULuG72jFChjeq2I+F0/SMQoOk04ZlRLUdodU/\r\nCDAm+Al6xJlCsNCju9KtCwLsFPLafW6bwDk/C/ogP+O8emqMjQXpXX1EGOrw\r\nQVz3ZYaaMWd5ReHYGwnRXSNRf8wkO6Kh7Pti/EuyH5Z9zY1VETgQml3vc8WW\r\nPPlpQd+A9gM/ist8VUH0vlSsGD0TYKy6Yyw+lalzOjnyQDayGmY0Bq2IJlC7\r\nQ6SoMZhWTtPeVgSpbNOIihnTu93USBXTFfThtl/uDWU5Lxwewbp62nPdG4Lp\r\nA3BQcPxsJ3NC0HKg977CPRrLZZDNm+Sw/RdhBDW7fWsbPY5H6qjB2YAHfTyg\r\n/PIe/t1QGJIlxGQPngt+pFARgOUN20q6hOg=\r\n=E25V\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"26817904bc3d0b360d7d6a1b18a7c0061f795a20","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.2681790_1669884143485_0.4376772436300309","host":"s3://npm-registry-packages"}},"0.0.0-experiment.5b54aa8":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.5b54aa8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.5b54aa8","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ec700b7a48060f2df65a1d4bad20a3d4dd3347b2","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.5b54aa8.tgz","fileCount":279,"integrity":"sha512-OU1Ai+CabjSk4I8PLCXwdBbSCRU91KTm9GrmYnF0lqr7/9AcaMcorMPlw+bGMJdv2k4TzB0BbRuU4JfvWFGMZg==","signatures":[{"sig":"MEUCIFaBp2X/rPfoR3VWuJMq5mastIFuDd5CmbIfAf88dODhAiEA0iPvWX9I0Z9sbNQxGrbf7TWtmr7muYszFoXh7u5ov0k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112752459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjo67ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4Lw//YjBC9I78kQg1+1XVn4R8OTGwNX83qvZdg8WOroY+iCzEuhy5\r\nHRexBWLQp4r+eYEA0il8oZXXwxox+82rr9YnG7EbM0/waWV196SDZOqJT1iK\r\nymQu6LcYkyPNuiT3FistEBT6l97VK7zN5AIq0q6/R/QQWQEdVqLI9XcjK+/i\r\ngKJlVTyflWb6aW5X9naeIhxJh7aSTtTF60eVzH/4XHouaZL9zu0B+xTnFml1\r\nmmVr0Dmf5eKRQ+nbfUui6FCYZybzEgzoJxlzBYzODxhvQp9XG+xcW9bNokDW\r\n1rxJp7BU+1I8FtZ6b1SY2gK+Iwkm7Vm8uYhexN+yzWyV1OgwrRpJykEk+PBk\r\nFab5uG/9/MkKbz7IWx0Vk4j9z2Rq0Dx0CFR1nDhYTFSbbMCbDctD9zBbfALo\r\nNdZbrZNpO6g2NJ283xH/TiNu3M+heTfrro0xtkfJzpf+JrYytW3/sFW+n6cz\r\nA/JeKe/dDRZ4ZDL/g73v3IIxlIPvkPgfw5wj3toxpOEY4ltLXM5EBc34QNNI\r\nWJpFBfmGbiY6eryOdOlzqjCRgz/paJtUJLcjUsh0txFHuKw8dYpqQjJAuCcQ\r\nmDIe8dQ7JnKCx1PZia9ikHTsfKofCJwWAdJDmoM9iJgkF0/tx2ANcuGSfWKk\r\n65scBw8aRUpRli6p2VLCmhYvQnWfKmBn26c=\r\n=jIsb\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"5b54aa8cc29c9079414e54d6638186577bf5075c","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.5b54aa8_1670287035111_0.37261742041793733","host":"s3://npm-registry-packages"}},"0.0.0-experiment.188734e":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.188734e","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.188734e","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"df1b13aaa1a0bd170de2edc2d168d2fd0c3b79e2","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.188734e.tgz","fileCount":287,"integrity":"sha512-YWZOeHfXyM17uqj2f2839eBzXxzO0KjSLovfja4io4uKEywlVXxg2OpSUNKTCocjCoo4HkoqkolQ76phWzAy/Q==","signatures":[{"sig":"MEUCIDIfCr7Rt/HZSkhugr6OT5xwTNwZ8S43J83KhAvPqFrrAiEAtBrOjfmvBkDD7L7t1HsxEk7LOInQUMmf/0FrGmJ1b6U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":113456006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjqIjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzsQ//Rly62CytsYdy2/4WHKy8rN7163+9HHxrD5A9GGiGup42Hi/5\r\nqq5aBmieN3Wo6UFm+nogwd+vS55V9Qmwj4QbjWWFkyhntLQCCf0qTOR0+/Mf\r\n0BfzBupSb5Qf30zjKp751L4Oqk2n+alkDhDDVYPRJVupOYBNs6e7jJd5W83i\r\nsfkHqcvIYKcIJ9fv2mCWI/xuahwkB7okTXbUou5Nk8fGusfdrMWBMzYpxnxE\r\njYr1vykZLYJyvtcwpb4EtQkjYWdsX7Kw/ffOaJK+WVxOJr4P+FbTb4QOwlQ8\r\nG2gIhBO59IJtRAiWjnu0TQ+ITosKbqcQw1/I+96512OrUQn5PtBdXA/oYnD7\r\nxGyd588pDALCi21E9J0wemAnY8GTxGZdrLWGjk7J/hIrZ60rFGqiC0JWDSxt\r\nmKaPb/0A1bBSgmDkSot8lprDC3OVc+gp46xFeNXu2xwJouNy5RHYjj0KOV/w\r\nCPGYdlEq2vmkUZqwfGdL2Ze/0Nlbudj3v7XImd4t7Z0T4NXyH8dcrreUuG6q\r\nv40hwVnHcyD+ar7ZLI1EDPI56cTBNWFedbH5hIQNg+3YcyTLgOMXh7O6Jsqf\r\nOUklE4AzM2QjFwfC4b762IeLlTxS5kvZFFfqf8iLJJ3v3y0vNk+NhelohC6e\r\nmCsDd2rhvI4cK5b/sXD1VZBxlZIis/oDYuo=\r\n=mMEK\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"188734e104976dfe6b510ecc8a946d47097e1254","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.188734e_1670292002415_0.14923621705665213","host":"s3://npm-registry-packages"}},"0.0.0-experiment.97af203":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.97af203","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.97af203","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2df14b7a3b1600f9e8273106643c44d1d318af70","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.97af203.tgz","fileCount":287,"integrity":"sha512-rraWSNek0VgDY4MlKqVAxGRtIBrwff0voNadYxcIw9qA8QP1UShWU3tteUhiNmN17iXq+4l80+bnAzVbVrqeOg==","signatures":[{"sig":"MEQCIDYMBhz9sJv0AuFiaY39TQBhLGRDGPKmHmdr2xAUv3grAiAyH2Rt+daBqY5/spZKyD5y3zlLaflzU32Cl00iOsfQMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":113289218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjqduACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr58w//bmq48d8OTNvx4XJWqEtmv9tecQ2i5mD6KVygMNVaEfsnl2zr\r\n38lN03yWciPBdXG9GGEOk34AaCqYc89AdCinj/xGnmWQvxekFH6hxIAxijdf\r\nDWcTrjvFXAzJC+Hk5TQDpHIT25hfNx6WSqJT8JtiMuK8vR3bKUd7Q1stpbse\r\nD0Eyc7AIhiDvxJwzP82kt+NiWvqKOoXpU0vrmXpYea32hkZjgm0VTverqGde\r\n9yoVUHmQBs6FnQRgz2UL8jcmPu2/QWEktCbL2c2Du0oHzTYzanJO0Egqya7o\r\nDQ+o+PQEyVbxry1Xahm4P6E79Kx8AKoiNqjDicGCf6daedRTy9HvFQvcVkcE\r\noH+x0u+/1YYvzRgGfvqaa8A+6KIUHUkBXG8OMk0RNSNxl5/IMgQxVdfu2zfM\r\no/ctN1lWx9FMpimFizwIdPEmRneLijHMkAGXSrFTy93+CpwL4mv2bfMwPyZL\r\nxoBjzvIjA6jtIqpLhJEx8e83spA5xut2PdM+UQ4kkd+XKDFOvt44PwIz4XiT\r\nUPYSbXKKZZ/9TvOdTeGNNTwz5TMePOnZz7R7M6HlMjDNz25/Bal7oYyk6bWV\r\nDVPsp+wGnbRy6qjCXvj/Gm9LUNJ/cAOXKTTgTOTkTM9DE+X89jewiim5LM2v\r\nUA2RhOQTcpTcNwmk3r5u8YWHFAJVT5bOPw4=\r\n=u9gk\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"97af203904d4a968560d0ada969c331ff5965d60","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.97af203_1670293358024_0.18905665615363776","host":"s3://npm-registry-packages"}},"0.0.0-experiment.50f08e1":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.50f08e1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.50f08e1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0b57448894ba93b88bcb7a330c7913afd85b6f81","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.50f08e1.tgz","fileCount":287,"integrity":"sha512-1NkMkmTN2aOEvtIqwX/EYQ0dor5TVZZXL0Oei5bLt4ZsOL14HRmbUCVHkEfS0iF64tQ3nHxA5p4e4cs6015v6A==","signatures":[{"sig":"MEQCIDLAaAaD8zPRmaJGSHLqvPfm8jrqjDuBMn2ktIq8AK9MAiAnil4dEUbFlnxnBKtEPbC4dvKHikT3n3mW9jWFHOK+2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":113293971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjqnVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiLg//Qcb67hbEwfed94vXEi3SaNw8PxbjhJ3taIWtPqkPe1sOxs6b\r\ndwg+/ZPcLYQbElXg49i3BU8egJccd1sYC5i+kRUAUW9j/M36cQAb7tRsbcgm\r\n7RQceVXxiasCb3xlRO9t+6YIrjDlJMMuiqVTYQHbnpIk0sCAL47F2vdsb1pQ\r\n/Jr7PSvAI6/Ggl3GcvPhryYxOPzv6iR1CrQfSLMfW+G72AQaDdzFBRpETl6h\r\nRSkekXLUEOQ/5UTqiBRM0EhDTKWTNQqTlmfw1i5xPqv90xtzs9hgetuJyLUT\r\nvra8Pr/qgQVkeUyg6JLSH18SUrAypSCUI2Ngd1r7xP+oB+mCmeGe9cPD4XwO\r\nf6skwaakWJjuVvG0SJXvOPwtacUNAlYRz9I0dT1sX748gap/jAfjWcinLnIh\r\nltbbq6q4D/XUNE34viZVXPGktE8aZ4iHCWXT8I0byfy+azpHMfItlxZlnky5\r\ngVDs4KBVB4x6mt//n3nEe2c2Vsip0loVAEddtrdRfwwfttDsKwxNGxjDwvDd\r\nvu1BILjTcEyPqpr3axlVcSA7BCKrjYvMc1tFVztvL3Xy5CwRT2RRoPMHXGUP\r\n5MnvlJ0Eo4Q2aBSFU8qugM4QuvPpN2aIpdPip0BMx4YPSZEwevhbNaMGTA2T\r\nao1McTH6rZVS6D/WJLJ36QzdFhxSD6eOuiU=\r\n=CFTG\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"50f08e11f86f4589d257a3c6f415af77bb0315be","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.50f08e1_1670293972462_0.841983647984448","host":"s3://npm-registry-packages"}},"0.0.0-experiment.abed36b":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.abed36b","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.abed36b","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"80806a29910dc93963f09db7ca6d23678a0d8300","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.abed36b.tgz","fileCount":231,"integrity":"sha512-1mi3kcytmkW5OtBHRcOiwkn0ntNNDwyId/0Jw6xn/iJVqSBhkO6nY/KFNeuu/Jo62/ZG/2wPniR3NZg9ZS1xSA==","signatures":[{"sig":"MEQCIDExeqzttzwmtVHAJvmRY8/ACL1ewLsUx48U+qpkHMT8AiBt5JSLuiHVx9IaaTW1fLmyY+eE/FkDgTw370Lo3MCGBQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102433982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjtxWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEXw//cXOJBnu87l2vnKgYNyMfl7j2wrXVc/ubPmtYClZcrv0n2Jlc\r\nHZAZNfTBisRvfMf7Cwk9ibAqGTpsnv6vkcp4MYWb05XXVDn+mrjUJ6EFqtwX\r\nsAYGXhT6d1/RHj3u0d2REChlh6TaoM/NW1n0BEUaNZpD8A9j8SDv30LIjsTp\r\neydPKOO3mj2RW1Ja64rjNCLFutbtI055qif4H+zSpp4NUfAOXMf6scTmNBY1\r\nOW17U0uTEmxsq1A3663n+F4k26YMIkRt3y1QAns1XwbsMefgOmGJGZC1+XAt\r\nECGTJQ0+1um8aa5TYnvY1BBSKY3EHeDvyPo87SzjxM4TvZuxb3yCzh/jrjxO\r\nyQj11ETVzmlfB4sOEdOJ3av6O20choXFkAUiNm6zikXAokqFZd8Qsf4mK6bT\r\nVW66Y8h9L5oS6/LJZv5Vy/mXlnvzCAm4XOYtdueV0RISg8dyoLH2ycBfKwMd\r\nO01rHX5CXE9ZkTnJ269gkphtpbU/EkfWY5uC9+RYyl33cXelUVGoBbGzc8KR\r\nGPeIXfp6zhP00rGXVHw3HQIRZuGcz8eeRjSebFuTvcMN7ljIFH6nmCRc72tc\r\nj8xgUF5jwRaj505VfhM3SlKSrpKRv6W3h+wWs+l0fqUzbV1Bl0T6omvntV6h\r\nSltfuobo8K+4812tctNFY6wbE+Z26hTFix0=\r\n=i445\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"abed36b4d0669707f95ad00811f2f400128fd739","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.abed36b_1670306901817_0.510480395591703","host":"s3://npm-registry-packages"}},"0.0.0-experiment.cb3dd4f":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.cb3dd4f","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.cb3dd4f","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5c49f60c82564ab43edc535e79ef86e64c0dc97f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.cb3dd4f.tgz","fileCount":239,"integrity":"sha512-hK5kik84UUlrPc0YQPp+GMh57pTW5Jqowl5SNglsF41H97a9ldEYMTNI64ETH+hRF32ep2QVuEbQvQ6HvButAg==","signatures":[{"sig":"MEYCIQDpXoN7Ufgtg7bWzmT2bpIJtK5de602w52/vd+EPKVsdQIhAO4Q11uoKuVgRBEFxztkaRxawu7drmALmHDmh4AiEIVP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":134178710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjuzkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJkQ/9E/zNNW6JPwxjhXJaumXIAlzXfyxDm9kLAis8MdiyPXTF85OP\r\nV3+tSvJ12qzrAJ8MI32xyvRprwH3vbIeqQhsUmGMYPYtWrw23jJL8GKCZDuJ\r\neI/C4vZ0qU8RqudSjRyw7T5ZM58FYz9c2KLGXWEDbhOeDCZVS6D+5M1o6HwT\r\n9JGIuzzFioh5CiLwnj5vRIBpc0zTn6VnXbPpgiyzxu18IGLE+2wBuMCamcWw\r\n+u3mFNpr2oUkowlbbA8RUTjM2m88qkhhHYySyuNe0O/sRNVWEaz8wS7k2khc\r\np8aiKEgYxT6YXJvxk/xYNc7iqOvf112jqzMwobn8nX/YV8dJRnQEXxmKtQv0\r\nvCqW29XNXeiVHGeHVauzsEQbQFmlXJwNO1POBoxdg3kfxPP0dfE7JP2jfcYQ\r\nSIc0iWdfVpuxhzxSA8kn5QRctvf5rLtn4PITV1DAFnWahN0YOxXBCxyW0kZ9\r\nbIexfaDGsNPdXjwew9Z/1/0WpGm/M3lVtjYD3Og2LXtoVF53tcI4gyApEuRz\r\nCF9XtEOSUVSOgOOUe142ZCuXpLtrQzFGpuQSAdTh8Z45maTPi/gRylWLkj/a\r\nfi9cnL7WLT/qbaMvbMRjp51QXZwEv1RN8BSJ+cFTklip/5GkAYa0VzNESClf\r\nckW98O4uEfgmnVGIW8hxMUVJngxF5QlyF4A=\r\n=JG8T\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte"},"gitHead":"cb3dd4fb9af303bb4bbfbe158894083d18687fa5","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.cb3dd4f_1670311139633_0.35796452097923526","host":"s3://npm-registry-packages"}},"0.0.0-experiment.36ce3ca":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.36ce3ca","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.36ce3ca","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"db009c8cca8906825bb98fa3e7f9fb0813955e24","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.36ce3ca.tgz","fileCount":231,"integrity":"sha512-SHDcTdYK8PYRBnV8OfEIJNcyMHL6KkEdqYu6BtrVfv36iyDDU5HlskVClJ8wV58Ipjksz4lly+11TEhCra5zog==","signatures":[{"sig":"MEUCIGuy8wVkf6TCqzmP11mPZmSMknYHg3RjW7Y0skJIunzwAiEAlapCzuGeNTUmKd6fxhSShrjbi5ANyZYLqVjmqqY5Ak4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102373580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkBKLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotzA/+L3uFDW6oWBw5WDUmTlPjyRa2SMr2z2aoXF31o3wEumRAjVWo\r\ncXsMzDHIs6fz9yIBlbTbcZ7a12pzsztsLbWA0M70tAEmINidoroE4113/c38\r\n2RaZ3YW9F71HMtlxgyDzMW9SEvcEmbZm6HEsf0x32IG9OK+bxM71wJK72cTw\r\njWQMkMfKh/VjXRqkza0ndAmpdGhefu7O8C5wbkxJXeWu5HNEKQ1Fab9+wxkk\r\nQgy9Zwwy+RAqG9yAb673IZOYeEHVmKAf3mxtC0ZIh++bPOjrLDBq0BPs+f4M\r\nFYNw9ZwGJ1DgvSzCe/bOihIIxyapMjIqFEY1zhsDEkCdMz0I9xhsWtG6sLkg\r\ndOxkQJpEewvid+fDp2mpdo5xqcbed+ZJLfKc1UPQlid8R6DgNutOElQVFi35\r\nOpezehNP7tdAP+AHDS39G1vQ2R7Ld47MJ8XyFrWK79zIOSZpMK/b8ukv3tdo\r\nKqJf9RoI+oLLkTHuzoJQD09boySfxjz+ARUAmamIYkE9pF/ZR2HvAXM89hpH\r\nyRPAVezoJ5cfwppbZrn01jjM9V/CyLsH6TU1u3TKhXxHgeHXk8JhjxVLdrDX\r\n0MrftK3l41tNC8gsL21qyKvm6EHBdc3swf0sTi/2elLsRpGvAHRzpUz0BqEV\r\nkwMt3HA5GcB+QlQKg/oWpS7El/zvBJMD42U=\r\n=VXLL\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"36ce3ca7ae6dcfcdfe133088a0bb1b466e563dd9","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.36ce3ca_1670386315121_0.715893380138694","host":"s3://npm-registry-packages"}},"0.0.0-experiment.430bbdf":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.430bbdf","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.430bbdf","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d0e48c61b0b3853e1cf2a4e2d27d017965997e25","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.430bbdf.tgz","fileCount":231,"integrity":"sha512-vMF+XFD4qwG6sTwOfkkjv0PVD88/WNttSSz8ytAwYGk/kkqfWMYhp7GvU+C5nTVdtCFyUIGOEYOMQKGlVtBqvg==","signatures":[{"sig":"MEQCIGgJrGFbTZRFDDtPAjwvh6ujaCZtQoLv2UL8yIzzSBiwAiA4qxuPfLjWAv/sQ1LzQwWxyokQVafrUp2pBOEBnuXufw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102370308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkBdnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqucRAAldrKZsGa05k52qHww2gU7djLWZYQGbaiRv9EYyrFC3t7kO6s\r\n8MftcupWMnNSKZAfub9lcjIzFWtlekyS7DL5f3/A8EvuzFyDJgMRkv5YkCr/\r\n1+BuGkEJ0gcTzIEG5zLmvfEOk8tGf7epVejqmuH4ABCsNoWW6FeNlMh88cQn\r\nvxzumBtVfpVxSzPboVKmoLNyMc5e59b+jpZiJhnoP/IjVqoQg9yWkNz8AITC\r\n7UpYnCwIhGdrbXFXYqaETN/rq+1rubOYcUZfSU+bIz6ZbR590qhYdvOBlu6k\r\nuexW1CiE0FhTlMSiBUbbbkc4dRFrwJuejKC+FXESAKzYYVn4m1/vHK0X9i96\r\n3sINPLeO3bgYgSa6d+xj0uJ892oPKLhrNmAZj/GEaSYag/fybPKYwbhY+hKa\r\nvcJC276f7sprWxlo3ySLFqc9gDGxEA6STo/vNo45X1VVgVDIO3Cjo7T+1QKe\r\nh+b/eTl7zxkmcd2A7WUga310Kg9yOT5HI7SkX2FOfOte0XNEp3eJUJY1PpBA\r\nZqzkIixNpcaBK6n27IEtVmL4JX9bFbvY0WOxY/GFEN8marsHce2dzC4V0HKM\r\nOuXnswnxvR9PKAej8TqyZL10g82aFvHAW6XTeaN2wZ+7vRPnehzjX8tT8JAR\r\n7d0lGGhbmXpoa+4TxZmO0jXUEV8CSdCK5jo=\r\n=aZar\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"430bbdfc0532474a44454ef1bdfbb6260f5ca9eb","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.430bbdf_1670387558665_0.0746236474748061","host":"s3://npm-registry-packages"}},"0.0.0-experiment.a06854b":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.a06854b","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.a06854b","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1c7ecf5b5df8c63bed3b14f1de0a2d23eb6a6608","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.a06854b.tgz","fileCount":231,"integrity":"sha512-WYSjdpu/zpWUbtyydwSZPB/lJwcxZMEDfcZHDZw9xW92IY8tvz6/1PZRGh9y5unpPNrnaa4mcDmNwCNIPHNGeA==","signatures":[{"sig":"MEUCIQCGDcwKmXGBT2D1U2J29KEhBJPd/8Y7j1Q6/Q/fwSBT+QIgZL5dwlCewsbJyOeBv0WRcORy2r5MO1bzywGa8jI65RE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102371179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkB6VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOsxAAoymzTOyB5Jldr8w+vq0kSFrYCPg+gVxw4S9X/dbC6uY/kkvy\r\nKN8gyfMcCzSA7jPgJZXC8jmy7HdC9h+idK+VJiaPAYN1CZXa8JjEu9w9MBBY\r\nyZJAkTSjes1GsMXekzJJ17Jv6X/QiO5upX9YYQEnYNuKTi56A05L+ZzsvPem\r\noj7IpZTJe2KtzC0JM/CpzdSlj5Y2S/K5chGr66Zgl5RtJHn9vwrAGOqOJzKk\r\nNZXj06HrZbDJiyXy7JAQoS85WoYlUVw5SzGXNzjPx2SWofTYrKNhkWGo7vc2\r\nGp6+qGOOrR9kisrd38p1wBG85+fBR/+fdJWs0f1kTGu/fMqhD2GOSHDnNsRb\r\nEI6b91zPPYNps2tyCzw4XwQHhOo67n6zbVbrcHRkEmQYf0BuWxi/y2sM0eW5\r\nYJNMdBrqy2uUMccKLTdU8V58TUPUR4tya0FXFO8emmHDRadxtvWhscJRYttP\r\ns9BdbuTQFPbOP1IgTx7kksLPKqSTz7t8iRxJAjr1/FruDXcpOByZMeL9BmhJ\r\nvgM2VZM/8KMQSIUUIHvY0R4hc8cDY+8GEG6sbCbaWI6rWSZwbFHDba+5MKlb\r\nTKdv7omBFZb5QozSfWt2KpQIuhgvNzx50kjek63CyhAIgvHE0qqMkWzOuUqB\r\nNirsaaeudOVKv1VvsPij7uTSuonX/7ujcAQ=\r\n=4+tM\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"a06854bcb361f3de5b4eb9db95d31244aedc19e3","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.a06854b_1670389396429_0.5151966880808958","host":"s3://npm-registry-packages"}},"0.0.0-experiment.3087152":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.3087152","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.3087152","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"11519aab4b7bd99fdda736061dbd4fb179aefebf","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.3087152.tgz","fileCount":231,"integrity":"sha512-MksGXEfV58NKl34TnA68HHcjiMnV2NA0g+fSuYZ+CvxNN3ID6O/vvBatSLswUqIQSZ1r01idmluHKnjTY4fyYw==","signatures":[{"sig":"MEQCIDe7vmY7ane+wF/P6S3KQ3xQBiMCVe5D5BgLHycdDSfqAiAWAY8Kl5LP47vfrSFoV7/yq7wLHxVT7DyPtdJWtSyeuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102381782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkDE0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMww//an0ulDU9Uuh5Dd/FrgDQa77tZpTC87/bOL1ytXTfswOge4sJ\r\nZDvIinQlkY5HZFWlzmQk1iwQp7/Vq/nbEKcBoT5NuRcZwDb6OyFqTD4v2Y0P\r\nP8b2GY03gfHozkD87fJhgRnoAVLwaGBp4LTUYz4FNNh6jCWAbqRq0Kyn6r3o\r\nYFtxM5LqKxOQkSqVgN2vfkfQUnL74BFnFsp1aDR5OyvjwhJyeE/RtYpxmBmS\r\nnxc6FqEOYowWE8wiYweiE3ueOI9ToAa7wYQA6DlvVaZOQXn1SKzTaInF8T7B\r\nyYukX8zRx/5aRYmKKxjekYnS31d+xXzTOZ7Dl27nxkoQ6F7ofJUNOxYiDxBt\r\nOMZ/S6Quz3OllPtZRROnjk/42vZw80HW3VoKlLd8BYvJM9xyo35bGdW7Nu3m\r\n6FxjcRygvi7+Z+rkrjBna45Ad+pbur/T8/iRTOPuczyGJmKmwZtG6gf8Hskx\r\nBuYGX20ROyT5eATF2/7QzZBiox9FwpMmXUmL983Vn8iCeVT884nIyfIV+DE9\r\nKYO2N/Qv59c6xGanmHwxxGQSP24dL2EACPN7xzl5A4XetaO6UHTLOO+NqzOy\r\n7LY32Dd204EtVJubxi40hP8gSIcj2G9jlwRXcAFE7R9PKijytVq8eMQCtgEg\r\nzAxkVHLSbkoQWRObbPX5OAikxjHWK/7oIl8=\r\n=Ig6S\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"3087152e8a31301513f92ea0956fbbf0d07d6b5a","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.3087152_1670394163662_0.02006132977662789","host":"s3://npm-registry-packages"}},"0.0.0-experiment.3530000":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.3530000","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.3530000","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5acfa96656efc9389b63f37096b66cb0630313ea","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.3530000.tgz","fileCount":231,"integrity":"sha512-Ii5QOJyWQ7Z8IHbgUEMrIkR5zY3P3H6W/ox+ZgrnUQvaKTTg6Z0JBwRaNlev+JOK1/pdgaPxY/jOvoL1Sjxr0w==","signatures":[{"sig":"MEUCIEtcn5K9jZTPqJ7QG05uk55TT79MyhKaLpxEccS0vdWOAiEA+4Pbg70gHpgF2jKVuAH934q0WU22G0XTB/CIJHVqJWM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102393010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkSqfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRrw//bgKz4GLQLKmTdfL2CnSpDq8RSLTWsuByuUrRth1VIPxv6oWw\r\nXs1xU2wgXzydEZ1h1tFqd8+v1+a8ljnlRvR879R9zI+z3XD5ZQ8vs2iNWVy0\r\nmBsV3SOmltdVPIm3RCIaR50mbFwRPPCKCxDm8l48pI1SZJZ2wrcZHVJJxDUk\r\n8ROk18vwM/RTzE9+8BCAHR6VOsvTpy/q+0pAdHNzDO/HhOxkBfVvZomH6DCW\r\nqA8rB8pYVkXIcxWkt9HURVBHzD5mtFmHWDmtRhzoY/C7mRN3SUEFUA8rj43e\r\nibqYHYrNyjdhGXpRG6zZmrkQQS2Rinx4g4x5GjgF5CgePx/QTBOH/ERxx2tb\r\nJNGOvYWOheNP6iSdB5iJQiGvPTc1zyitzRKvcDlj1Qyos+ij2pgcMo3WdKiy\r\n7bC3fuhut8yNUbS7eBg4wecvFsI3PkM8oGh2QMeJR/HtDVhztsHrrFHOVN8K\r\nxpIbKCYOq2+k90lpx79UV9FIR4sjg/qqCZeh8IEyso68YC9zVuGCzjptYS6i\r\nF3kjl02PDuYUBEIrwSzPnKxsHLuM7gYx9SGGOcAooAGP2gsLz8I5h2Xkv6s0\r\nGtofFMEluGL0CpIZFb08WqObJ3rgFlzMYATp5viNS6BExiRgTfa2SxljS6uO\r\nLsc0Yj9iJvvZiaADSL9VUWfNuUjs34JjYFE=\r\n=UL8H\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"35300002806ac6d82afb8c4d883a355d69d4c37b","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.3530000_1670458014640_0.7112605722115033","host":"s3://npm-registry-packages"}},"0.0.0-experiment.34a2031":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.34a2031","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.34a2031","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b62735acab4c5504757aa6c30620d942f18b4a6b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.34a2031.tgz","fileCount":231,"integrity":"sha512-X/rPDffbPdGcJakz8yr/eBV2RVNrJtUbotzt2ScpJZ3Oni6qjb1J2u0pJJm1fZVJR2llClYdPDInuH3hxOKjMA==","signatures":[{"sig":"MEUCIQDBAGmLdFx4xsVINQI1vAud1rUGxClD1UpOdkC7r7BqGgIgK9HuUcJTA4AyqNYXMA8datohm+hpgmUHZZQsvDWY3QY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102393010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkTVPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbLA//e1vPxhj394kMc+QkyUmWftc8+q4na+pjnKrbr3WtufO4wU0Y\r\ncDhrPpo8lERrrAarv4ED6dRrlMjPltfrauT8Lebg0bqKxFhKbUW+zs+gbNz7\r\nAIMTEvT8LjxU0kUbQnZWFLmL+eOujjoAiZwxEuFFxEIGOFr/uuPFk6Kuueaj\r\ntlSU0gav8PR4H6zOU5mTziTsRkuWBQmslUgkAZLlb+ooPxBXcMQn2PgU0Zso\r\nO2WQyYicNtVgxDt3NeoFM4BzMjyb/9wiiOiGyPsk4x3iTkCl4wvFdH2zkYXp\r\nM4cOSfMeQuAZ9fhSTSi90uWzbYboti7vYTjNTlb0t1yBgI5wHo2vUFQDIkR2\r\nNB51p+S4iQrFbN4CHPW8OAfUTJYOOhkERQOYXnd4X5kUyTF8ZD8UIsl85Ml0\r\nYQSSkDSkvnYG7ibrseatzITf8vY2FdCQIhT7naV4t9zQTbMJQHWeIDKaBXWy\r\nLTGg9Zckk4uFq4JveGnYn7SKRq6d3H6SVQ1RfBduTqyiYMDWqXk5bWffPYLE\r\nYiFESMvINT8ldklreOYL1OZ91yDx4lSkDnxlq/jwqJPhVIKmYk65npvzTaFK\r\nzs2XF4NLjRPPjrZfuDfQX3/zNgmPaTmrUWM1junD77Zlf4GgMAr5TcPgHBNh\r\nGQFkmYx9cHxcIjnwNY/40btYY4BtiZvCx4M=\r\n=9uJl\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"34a203179c3dac9ca8b94e2705a373c69f4306a7","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.34a2031_1670460750581_0.8973164719403754","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"@vouchfor/uikit","version":"6.0.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@6.0.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"96b4d28cfd01316f6a6968d66f8d5586a44dfd4b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-6.0.0.tgz","fileCount":231,"integrity":"sha512-CfccqDay8fLqZa4KgXfYDA48gSyoDaCYwUbcqm6yxOlCJ6sGrbj5NOSzBS5avDfZ3A93ttPjyTYdVsAU5e/ThA==","signatures":[{"sig":"MEYCIQDLOX1aUfNwYf2r9ClJzhFEZHcHajLmZraGH5m3FNYsoAIhAICJQ86wny2VlHfQgyz14SICNkSbr9AZsOJhlFVOfbdM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102392991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkTcoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKYA/9HnCKuzxYYnF8Y73gk96Ex+5HQW0HKYqyhJt8hv2AEEmEhDxg\r\nyDCjri7JFbhGYBBVy+T7wwsMZjqye3UE1kmcdyRSEzSAkYoNMbV8TKJME3oF\r\nYA2xiGwMAdlWK8wkbgAJBSk5R72xGFkfUo4N8oi/cDPy9Wcie06eZ6qR8rsI\r\nrh79S9YoPTeQVVjJSygQ8PY91/2+ZV7jeNT/1x89radUg0vzhugPQ7QFp7dt\r\nw3e1yHLv2E8KYAsNHnoizAGXyfj8oDlS9Ugz6NoBCfpcy+lO2v8MKzFaYR38\r\neLnEvZMSbvLOCrmTCWjcJI5ElIK15za5/d9PXorANRahmdMYiNcSBAdAZGgt\r\nV5XIzt0ccuWY1n9JmU119FK6HGqRUTzShM29we82eHgwDi5uwMPcdj8tn6oK\r\nnxwC7QYY+9Fzatp1QvfCnuyZDEdhdxtYi9zYdlXesFvmIKxR/z5Uf55Zim+q\r\nOLQZjQQP0ndfmesm2a8nbrJiuMhG/YZRos8iYFiFGYYavM1LPw2dpMcJEJWo\r\nkui9asn+CuICAVVPrKVHi4PWF2/Kqs6lDfhxvZ483i8gAXIGrXkXuu0afiV2\r\nA/ElQ1oFUNDZMAoFy/IyhkaUh1Lcf5exqsxSaP/lVmj91KbzW3cFbRowzCBl\r\njwhDQeqmisFZ6CKdtBAgowFgoJvIUmSIY+o=\r\n=wbbS\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"1bb5c12c270c91834cf5e3a6cc8ee9c3d54f79dc","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.15.0","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.17.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_6.0.0_1670461223527_0.5086058339796331","host":"s3://npm-registry-packages"}},"0.0.0-experiment.5f2249f":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.5f2249f","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.5f2249f","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"87013813d2294ae3756f490285246eb0a57370fb","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.5f2249f.tgz","fileCount":287,"integrity":"sha512-WDGPxQPInOR0QBfzO+AKWcIxM2lQPYdJ6xp0w9ykfAlERt/2OligUe6vDnSUGB5o3oKeTVInSsb/l20kdylPog==","signatures":[{"sig":"MEQCIECYZnJoiO/OpHSuNZyKHdeINgRKMRUSAlwZWe7o472YAiBzqwghPhPCYqFEVah0fY15KhU7NjDi3gIabycgDjRHZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":113448673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkYzXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMug/+OB+xtYFMX15MzdsqJrf3J6VgPZKFJTjnc97LklXtwlIZZRe0\r\ntuDFSuPMk/AVo/M9ihwUmHAsOLIJ2l7zw/3iV2WWW2Ar9yGn5x9MG/Cpek/3\r\ne64/0YpMi+K0DKcvwVIqAAD/R10/3DXIUBrlqa4EqEDQEe6StD9lUSIpplif\r\nGSjzHTN9k19leH/TWgbMgB2dYMp0ZEB1lYraqaJeAIzyXftcGWYmz1jXRruC\r\n1Mo2ls7TEhymG7for+6lpYa0jAjnGKGRH1W/iQ7Bfc7jUWtdqqF2rXwVjE7I\r\nCb4X38SerGDJ/JY3GnDzji2vGJSIFc7F8hHErThxgWWn2+AGDP2Zl1CcsFa1\r\nWzNJ95Xwxq1LkQhKSsoi4/NS4Ii/qxe/nxrclf9FgURwOPyG8AElnBSKlD9e\r\nHXpuatULdQfr5C9Nfqin6spkmtbFxcMfNIsSOBl4lLdy765gx/lIQ35wJ3g+\r\nU6SdTH1tUKTrZ2OsunAWddCGbe9HavTVfL03vTWBdlr8OVXgspEJlLWwOMI4\r\nvCV88aLa4vbHhmsCWw+HXhSojL2bJHI655zSpTLl+IXL8/tFXAxmHeBwInXB\r\nI2WBULFP51B7zrx+DWavLVeho18QiDAXljoiaOHzPhv4W7KbWGC8oYvxDgIt\r\nIe5+oY099JIOXZmEKmEdoZim31/hLKhQMyQ=\r\n=Yv/W\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"5f2249fc1e14f9a19f1181207016a4c7b2a04222","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.5f2249f_1670483158965_0.02875381792556375","host":"s3://npm-registry-packages"}},"0.0.0-experiment.033ecd5":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.033ecd5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.033ecd5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"efd728cc4587849c9c1255591ae0733d5578153f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.033ecd5.tgz","fileCount":287,"integrity":"sha512-fHnr083EEmwSwZPbbw41MsC8OSd8jEJWW40SQzQWnA0qoLm0+h7z/2C9J+YtanyYIU3oLsfz2iLvlywUZClF3Q==","signatures":[{"sig":"MEUCIQC/tvdTT8ol6Er56kOKbXoB5ZNtygq6y5zB8sGGEX3wvwIgew4RYgNoVRhObdQPdrZHOwJ9mpxC4jhxDqnETHqTkvY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":113678125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkZ1dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpwmQ/5ABEVkU/dcuxAl1fqfwN3HKhi4GPT9QjunV1CEoD8VY462uRG\r\nXENBN1cYpf80Ns9Bv7y9YClegSd+vXnhOqAOf4ObMstBUwRc52bBf4IYcEEM\r\n0/9MF2d2A9OKafJ2MXs9upY1ChEZ6qHUnfVY+1Cvd3bG4z4Kf/xPiUwk8/Fa\r\nd3z5pElbiqYTO5Zcp2NbVPc8i/0v/8wS4pH40SSh4LWsDZKi3I08HTlWPO+8\r\n4q5H21LygnJSFx3FJDDjtDqXlIx0tJrg3uihkZ4eUtcTJYh4Q7hZLJAapOhu\r\nkdEs/np1Z//uWRQs6304Cp7VUgfhzjP6IGpw/sr/jgOho0GMeOJQF3OVZkej\r\npt5OBy6FuvOFQ/vjSaXeWTG84BH+tQpI/ieJViWvXqIvkwcwIgLJmWlHIZve\r\n60EzcHjAswDzoICICpANE7hVYG1M+Uxcq7Op03OLRicpd9AJfClQy4zHa8+O\r\niEy2x40etVUyzdP2XRBA+NYbiLfyoa1By5Tkzwg4rM2F2rJl9z4ymxe1B9fi\r\nqkH7lOeh31TmFAapvqhmMf4lvMHwu0zIBng49dpg/9k80YLuPnZulKiK4fMR\r\nIEoIPc2FZOu00gFPdOG+j+Ckr0mP2laJQKTlxRCJabn+AWc89zk8N3VGF3/Q\r\n2JHBJtKGM6AVWL+pY7H3O1iCOuJgFx5gt3E=\r\n=VyTG\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"033ecd5f76398da065a1de3db6ba03d43670d278","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.033ecd5_1670487389281_0.25651147876133074","host":"s3://npm-registry-packages"}},"0.0.0-experiment.fc50eb5":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.fc50eb5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.fc50eb5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"20b6fea8764927dfae388a60cbadd4694ad0bddf","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.fc50eb5.tgz","fileCount":231,"integrity":"sha512-rmm7rTzTiFBRdHKJ09w1KktxxUWu0f2FLyR8EMy+aVnyfe8tWuJZncmufivNgngTMvTHrQctcRRQY3gR7qANYA==","signatures":[{"sig":"MEUCIQC8VaJOB7Gme9CF6vtH7Rae3mJkBhu1Im+BNyyXTgg/UAIgO5qFYso7d+CTgOBFMZTF7dQFTz/qPbl2/2WWnbtmo7o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102393010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkn94ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqe3Q/+KKBiJHl8S94sGIzeNSTSPsFB5QEPZyKk4+UxMxvVx684Q9xj\r\nFnulBV8aWSDLQsZ3fB5RAPg0u4o4oiVh/N73oVWJUMyyQj0s1/37WYpUjQ6c\r\nIpKCgI88mo/PfeN5WIzw+JpiCeHTgKRrlnOeQboitO2yrdZNevfHGsERVib1\r\nfcDApHYl0/tcGJAxI9LPG1daNcgUXV5dDCmt8wXsnFi4bW00pcWA4DKbd9yM\r\nTGibEporM1Pq/CdWFA80bfoixUHvRfe+ecbSXHXZwItyWrr05xgzWmJjcNY/\r\nsBodSZEjHkYLcQlkqt3pO4K96iDrw2wj71VG2mbHK5N3Y4jkPDlAxKtLbp1Q\r\njtcWZqNTIp/0Y2aTnx2tV7WYcuU788aqDeKX0EMsAtk0GEHMl35X5Al1hS0R\r\nyOFDtBibiWVhPYaBmfURadH3TSrAgmLH5ne7muclBSB9AQOepgtLygZoVCPF\r\nvMCCquLl1yVa+4b6WvBZx6YZM0M0/AeD8UpPrd/HjxKE8IFa20NtVNMQ9pvW\r\ni2cmgIb0eWTxVbsfAcf6GJfxDf3XDzi/sAPr0Bx8jffdlGOyphdBg05Ar6FE\r\nTNbwRzyFfB2lGlgQgLsNcw94Y/Q8AlSsBcd1SgjslR3n/LoLJd6b1n5AVl9x\r\nkAA97jUFGyw3IoGHqwehcElLFIQmcvlAZC0=\r\n=TrS3\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"fc50eb5b7ee099c9dd91be49e197dac56b5c0ad9","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.fc50eb5_1670545272287_0.3392730015235259","host":"s3://npm-registry-packages"}},"0.0.0-experiment.bb00c9c":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.bb00c9c","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.bb00c9c","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"87af12b3c921199a920ba0c2c52b1f6d4951166d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.bb00c9c.tgz","fileCount":231,"integrity":"sha512-F6d9uIo+GOOBWh+XUfDkCyk1JWEXEdnK9a/SuwofLLKnExrAbb/RxQqdFJ6uKqvkb50b7KadFQOwqRD0zKE63A==","signatures":[{"sig":"MEQCIFTYbMoCHrjIaxoh5gLAJfIYFOe6qomjmGCoJ1uJdbnSAiBCG0HSDw1ofpTixOg6Ku+pdpYumutCvD/4iHjf8vp0og==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102393010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkofHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqEQg/8C7z1hk4Ow8s1n0tZosipeF/wIbB3v6ZfBTrbpqQ5+ktTQUwo\r\nVP4Heu0fDWQAdrZwKAThfXp30ZRDWG2Jh+VbDQLL7H9CHHyi9yYpKs5zgH9c\r\nUxHgG1njAKH1uQXdV4sayPFvEj307i/FRtmJFT63bbM3vuS+pLyqgw6B2hnE\r\nohzVepAWp38ozMW41pFIWWMLprC8DxwPHXa8X7ObGO9YgZrkViph8C6SFVIS\r\nC4A30WnctnI5z3trec1mwv3L9ERU95BuDC5lwYYF/x6McjpgOWzynWlBfpyM\r\nPkCpEn+6Qtjt333DeGIo5ZLLlLMUctW+SkKHo5ydZK3epjyTxvTdUfqNJvXN\r\nIbg4gwNDA7ZGiFRS+m3jejTNdsu3DceLn4ddDCJz6bt5xpp82QX9ml3qA3v+\r\nDQmYBSBIa0062pm9pEnabyXdwmscS2g7ZJJdkFhBEJmCU3oSeW37dwWCyIyG\r\nC39WZmWbXRhc/nQ24FN3tMBGFK5X2RZKjprndVwY2/dg0C3r9o4laY9Dne5z\r\nhZOrjE62qYU3Uzm2q7SYwpASIL9W/4KL9kP7o22UgG7XNptwwQI1TUutz0hp\r\nxHq1hXA+MACLBG56mswqCes+naxsyo1nVFnTNPTgSxwJ/XfxWjTlYj492eb3\r\nRnl5R77JjBns1MYWc355C0oMyy63Vi1blr0=\r\n=i7Sh\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"bb00c9c0e431410cbca63372addfaf30338ed45f","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.bb00c9c_1670547399382_0.18821957919572263","host":"s3://npm-registry-packages"}},"0.0.0-experiment.8cbd5dc":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.8cbd5dc","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.8cbd5dc","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"36a5e8f33a74a682726b9f3459a178ba328d556b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.8cbd5dc.tgz","fileCount":231,"integrity":"sha512-f0kTnEO6X+qO+dx1rPZNAj2bm8Sh/+S53HqHO5AVjhuaRGy0FzFQRU2QMUPSqeRDztQB/siObFE+jstXl6FPSw==","signatures":[{"sig":"MEQCIGoTRHEupdqJlseRByCuMW2iQKtUqRVmFPv+PpIcJxszAiBsrOZZRRuV8BffnKT9fEo4mTtDePc51Kb+MByN93WSEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102464121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkqcyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqi7Q/9FZqDo1j3e6I4Kw2WFrY2WxF5VKZvmdz8FZFlNSd5sh4eVnrt\r\nr7rSFzBSHj91NdMytzEhVPlfgV7fyrzfy0xj2bgAzFUv0L1MoQbNHgJ9uFGO\r\nxJTRh2/1kPZVTuxEmmcEcWxkbugic68kcbzjBKguRi+Wff7JNuLCQXMZchi3\r\n3ESgI988pcYoEFU8VoDfoGvSGBGCcXS/5CHfsWcIiFL4dpWX3GNUjsdUlIbG\r\nw52A46X2kpt1EgXJE1CAa6qiSA6V3/nEmfLFlH92Hz26/x7FMdFDuWG2V7vj\r\nyn5TzwTHMOV2WASPuF5+/9lvI7isl7GePHwmpDJwrjuhbwYr1C/3yRP2HyqB\r\nUrhHCrygzlzHnMMcsk6Efeee9wx7gYWeuc9PrINUvIdhJ4AJ+2bHDW85a/6/\r\nCYcXQKE7UHHjZuaUqrpYfnYJmOn8wTCEpYyT3RffPKlo6JRp9QSYFpFbK22r\r\nCutyG20kH9kj7FHJQ9aQa/LkoioTaEZw1lenYkbBFQnR0aYfzE3h+I5DbxeV\r\n19HQn1GCBhnzFLYy2+N81fyKNPLMoDqeDmahhXqDlL4sL40qUrYn1LAIRFZK\r\ncAt1X3achte98KgB10WE9E2AuOqDq72gr425ZrMiA8SZkraI+AtqtWdngvlP\r\nsCmt+NT2GmuYbXiL9K1Ud994p6zg1oOYJ/Y=\r\n=4ihw\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"8cbd5dc4c756edf0faee3d0cfd8459fa3bd462d6","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.8cbd5dc_1670555441543_0.7203663991079343","host":"s3://npm-registry-packages"}},"0.0.0-experiment.73f4b80":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.73f4b80","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.73f4b80","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b528f6cbec171f92757c0720dce2d1a81b75c7bd","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.73f4b80.tgz","fileCount":231,"integrity":"sha512-3f9CEsYaNIQlLsEvHQFkGTZ/G+VED/TzumcR+61cifdExuE0K2KXfM7/PgcBCI3z6V4oDyj3EpQjx4x4kPR2HA==","signatures":[{"sig":"MEYCIQCCucXzcIMet+NOBv9gu+Nfg7mwoH/kOsm4rk399ax6CQIhANuXNcwH/PGTmLAuxsqDw+73vSjauMmypnlkp3L0SDxw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102365275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkqqOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrX8A//VOpRs2WqXl9Y0Yd8J+Q7XBs1oL6j0dmkJGp1xJq1nRKJnItc\r\nNyHB/qjOZy4EPCDqxK991R7ZtOv58ZcdvDRRa5JTAqeXEn7vbETOtKmSfxqK\r\n3/9Z/jsbRcZhB/7Wa6/x7jBd2Vf6X5GCIXbju+yW6vDfyfXE8M9CHuWxw9Dv\r\nK8HIotcGedlcN7UMFrZlEFJA619hVnZDEAMQ7tGP2OI9mz7LYxPN86Y+ZGwq\r\ndYHoFc20Vevyd9Ma/lzWwlegaQf/0Jg+cuzIltPZ7Q9pdWhjej+jiAoFw7GL\r\neV0Om6Y4wEJFf4aGh3tvAJo86zQMXinc9Sigxh1X0wdr4z2wUjVSbiVnwQ0g\r\nPmI4wpNdVHdbWZE2HehVDn8G+KenNIGENZetFkQj+zJy9qh39CbdoIvY1Lx1\r\nia6s5pyap52W2I6k/yJIStrylmCus1T3XCLxgqVxygkl1ISz2w3pndxvtEc8\r\np1SSjEW9utH1eVI3igEMcVuC+lYlCimBG053tUvKF+RhL33remaYkb4wxaTG\r\n+46VvDmjXdUGSqFz71awJkXjip5Gbe2QQdBaLpv7gJRfILhcBKwD2KWhX3R/\r\nFwvXpGmbO/TSPBodCBt3AlC8X7PgDo8yO4RzgfuN4Ou6dkfHG/5Nj8cgm4JF\r\nBPQLN9q/XkhNEzZXQRVIlTP7GGRJLElTBUk=\r\n=a9QL\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"73f4b805ae6b23dc1c5f563d42da4236aa0524a2","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.73f4b80_1670556301756_0.2953528219649546","host":"s3://npm-registry-packages"}},"0.0.0-experiment.39e9f5a":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.39e9f5a","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.39e9f5a","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"711321384e82b63c8042b34f758290bf8501643e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.39e9f5a.tgz","fileCount":203,"integrity":"sha512-bNbo8oI92jmNR1Yr7afKt5dGkHkhmqF5CLg8wTtC4gd8+IwwvZMypbarC0g1V8j+xvQ3cPyzyQKH/0YfHwC0aA==","signatures":[{"sig":"MEYCIQCBDQZiSZg/yQM9z6SOZYpRWr870cgwtU160Tnw7kHTyAIhAPThLPIE+opkN3v7iTMG3Q3N5D6bCXL3oYqywt5Nku9E","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27031192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkrPGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHrg//eW3HtSYxXqSpwROefVO8Y/QVt7gbGvD+Z5BfBWFEZXdK2ENb\r\nvknkidZR1w4yE7peMrbUsCXvBngpVroWDWNtW38XgCUajnIOFAbYpP/IkpCV\r\nxzQm8IGh8ZyYZExS52Xf0eG0a2kjWYyVPV0y+7Hy3rHmJzz4/PUEDqdbIigC\r\nH2gg5or/ppb7kPUe2EomRtiw3DCG3HLx2gy7aHhzJgXfPKD5M3ffb//O+t5p\r\n1dzGpquj04tfqY5/QTQdKgP1yeAe3+AJDFyAnS9r/NVzm9lX+kcWUUKdXKXv\r\nFSQJt6KfUxDz6kdjbZRTR7FrffCCxiezeNskDQO5/sQ4nXzs6Bl6T5CJ3Q0p\r\nTfLGs4QihwVM9yszqGvCR1liRfwLQWGZ/iSDK3K3ST9SHsEJumb2UmLRqStp\r\n4lE+RGSZ+3Owa8cXcbrSrRjUbStj4pjU7QDVt9cdyOBFEQJWNLU5y1X7/zAr\r\nPePK6EH1mY0sgTJ5Vh30cwneHMKaURH07DraNbO1nRZbwu5pDjkHcTLkl1Ul\r\nxIwnezpRcLWsh4Xr5hdYF12lYhKhdPwGD+ImxZ/Covzk+tfZs/r+mngnNgX7\r\nfrPJ6MYYtWWssxmPRq1e9bqyVUWQTLlZEU6EZjbqRx4XKsgdO6aPlIKxKEck\r\nhgQ1wHTzer5JBItDEiCMhyGWWYeIEwfH7O0=\r\n=eYWi\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"39e9f5a4cc9dd87d0b8729912c05f87b28448855","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.39e9f5a_1670558662471_0.7103297678168972","host":"s3://npm-registry-packages"}},"0.0.0-experiment.8896975":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.8896975","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.8896975","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8ff963d2757a84da7fb7969c9f6c50dc2183bd02","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.8896975.tgz","fileCount":231,"integrity":"sha512-g9mWoZiK3As3dIS7QjJ0qXdP5oEhyrgiO+vt48m6+cjuMAD66Eu7XiMdMmYz2cm+vr1GjRORaahmrgrZxVkOvw==","signatures":[{"sig":"MEUCIA5SubB2Fu1brh2ep5db1ZJwD7yTmh92MQmRO06mGkDOAiEAzii8bPl9FHlt5uQw8iv502Icsxerb6nEbeC0zub9CrE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102393010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlomOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqkXhAAnGqkclitQuqRv3XjqUGyLxQVNaPFP00iDxvaLr4p19dTDtsk\r\nx8/a9T798+6uFRx1vJmjmSZv5d+FumHueUs9tYyAss3ZUNGYd0QJoCxubXHq\r\n6546UNNbozEav24Uj7SKqvgrJOWtPxGOdOz6sYqWHm3P/MeLgZ+Habw99jrY\r\ntVVa0vUh08GEkGhTlcDr9/6uWai63qjVALWSM9u1NzHZwbFF3tWw1Kd8aOtS\r\nXwZohhwyrZ6zAmMamrUUixD4XZtqBAjvflhrCpyTP6TK92umEOzJ/+uofVzS\r\no6sLwPe+FtGgkUcnAAsIp9ouyi5ayxqI1n5R0iWtltv//w2PAyXutL6YnwDf\r\nC7B21fBIlplDy9FscgjXxV86h/Vr01bCQwCkbjj+GgsTNuG/coIb8ZEXM1AH\r\ncSDUdgM/C5O8G31/Q0P8gH9rwbDHY9sK8/DqhVuZ8s7uEjdVWAyS03jJfhTb\r\nPzOjmvqvlK5cdcxk2yO5mt40tJ3TqBjkaNobw57KO7rGB6PPCo0akfLWDlLo\r\n7QS+7/pWj0elLNlMPxXQv2mysKpRPsvamhCgY8K8KZ5IkIguDAvyEL+aLmKM\r\n3+pGL8WY9TYDCQ/Qzxzg7k0I3u4g2hi9vHZw1x6wOOEW7ZlyOju/01e+o7Sj\r\nOMVOM+sH7JHpugpQJAg6XlQ7T0gr9iUevMQ=\r\n=7nsp\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"88969750e6417ba719d2c84e63a1e44c30d078a2","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.8896975_1670809997988_0.504343146682388","host":"s3://npm-registry-packages"}},"0.0.0-experiment.554f7d4":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.554f7d4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.554f7d4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"08cdf1dc58e6b7271cb978e5e1dd3785f4730951","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.554f7d4.tgz","fileCount":213,"integrity":"sha512-7M3gF8NdbOoDlnmB+XNoc8126aMrjc5yyhQLgGZHwuRWgUSYynHiogJRUtnZonq73LoYNKMkXSwdr22lZS16VA==","signatures":[{"sig":"MEYCIQDvKW1PP4+DTxBPZNwipwgjOKQsghUH8ZmCdyg1+wz+OwIhAMWULj1POVVnb9cs0nktyHQV/kng0tcukgLVHC8/p3Zl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37209096,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlpyoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpelA//VYH1tWjVym5zcuvkCVwb2VEkdGIHN1KsWilEPr7lXeFyX55R\r\ngsrEhQoF2aULc8MNpNV2/SP39xb9oIfVbfJM5PDeqAxjvVUfeet4Oiw/0aTh\r\n/Af+1suqP//v15uR2o+MbnzK7Gj91WioMPIlAbqJtncXa/bpIUoLMVkv21B2\r\ntjbdnGmZjJDR7MpDCi202cSBBQavYN54WJtk6UiUhUXE4AoWDfAlUZtgDKOP\r\n+xT8ll/urI/+Emo+1VVAIqxvmkPLnALtEgtqUPwAX0bQ6ZDETTdU+q/soFJ0\r\nNTOuBC/4wtwr2pR9uUlnsoJPmjf74pRKP0fxbWg9fNY7iru77pVF/BrceVHS\r\nTRBD9pIGesPWH7iu91LTzYeNklbnRXgCM3mps2cDN1yMW59Aoe0tjO6JbwRz\r\ni2Sj+xSGe7vpoOfbqtNpcI3d77mfOgnVo9/GTk2ZqwXRSuTCnFVLguifca8i\r\nkQ3ZtZxTvrmtl1sXJBRP3ekR+S5CTjD4oUHX5P2JfPjHNU+YMhOyLE8LG/5Q\r\nD+GsSSXRGmWhVYpUqDqnj4BJKrY037ww5rASC678Kj3Nf++QuuOmz831lvBn\r\ndJK8IfdWvJiWgPaBl64KeY3x4l7f5NUeJv6XaOm+UZowdXupcsAGRaDJ0TGw\r\nZTXzyPpPYj1NYlGIiM7strnWE0QvR2wUGqQ=\r\n=r6+6\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inline-player-inner":{"import":"./embed/vouch-embed-inline-player-inner.js","default":"./embed/vouch-embed-inline-player-inner.js","require":"./embed/vouch-embed-inline-player-inner.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInlinePlayerInner.svelte":"./embed/VouchEmbedInlinePlayerInner.svelte"},"gitHead":"554f7d447a923bbcdf01ed311acdbb4082e33ce6","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.554f7d4_1670814888251_0.018157444111111865","host":"s3://npm-registry-packages"}},"0.0.0-experiment.b8e8b6c":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.b8e8b6c","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.b8e8b6c","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2a9e70721b3bc4488df64717340ef4eb072ede5b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.b8e8b6c.tgz","fileCount":231,"integrity":"sha512-WFGJmhrTc6UjYyLLDXtKmwi2qwol19b9b6hiz+XdMYVxTj+gc0jelz6LVYSzSg+ZGXl40SFm8Qrvt4KJA/8xIw==","signatures":[{"sig":"MEUCIQCCxv/41ulQ04i64FVFeKn+xy2D90HDtWYepB37+AF5cQIgXZCuRKYHfQFY0oirOTxdTYIdCl1OXe0+0pJTS1MN2i8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102365275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlpzwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXkw//e5Qy+ca0lnuN42FkJjq4UcK66xZr5fVLK1ndysegClLRvokH\r\nyJj4y+UkzN9M7DIeXEN8RrrNcH6SuIllWBYTbKl+1i/Ntkt5/rKP3QmLyajf\r\nYShlhGpjz9NF+Vu6FS/wsZkRo/RfEUZwutFPHAyBf15uclxJnoAkbgOo7XQ5\r\ni9tFlPdG5yAfjIaWKd/dodt2my7qFMmPYex2KAKLXzQoJ0ByJHek55Z3gDNq\r\niEKZ3GRhTBvs0eK3FnQ/HlhP2TVfMRN5rEhhNc4ktPztSXnp2ewFyxN8vNIW\r\npPiLG5oa7zGbp1QqcHkxtZC4y4/FSFNzOJgIxjAgaW+zrndOznlbvBrk/eRJ\r\nuxQm2t1bP7XjR7Cwk2ctWxLo05GgbyML2wbiVb3Vt3DNTc/VepKPEzfy2+n8\r\ncBETeHXu0SowZZooOYzEh5iuOW5Tt8cpt2CFGU0YoWfX94+e50fFjVFQvVDT\r\nXZtV4KOVrRIuPMQdHbbsxnUTPBoqpJymrwj64U51LwOUS/fi5HHR/F91unmi\r\nH2O3cUaPSrcnrTDOWax021AzVVjhSaAb95Mh41STpKm1/qoIHW0MEhZYgI3P\r\nlxaZnqycVllGjSRpEnbI1xMd9Wh8hmTJP6Vg7zAMKg6iuDEc4mCwqt+zW916\r\nWdJGTAsRgTwfs4JrtarmYACJcCbVe0mHt/s=\r\n=lDrU\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"b8e8b6cab2a076ea44cc93b51139400936bb1cb1","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.b8e8b6c_1670814959928_0.6811369364092936","host":"s3://npm-registry-packages"}},"0.0.0-experiment.a069af1":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.a069af1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.a069af1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f9e5a5fb9736fc54d32025311d4361aea8f4d302","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.a069af1.tgz","fileCount":231,"integrity":"sha512-Ju4pxYm+SCM3ing2q5YHF0xxm/z2KURsi/DTZCB4zL6W3QlEbL+ATJFtOK0xu+jLVKNg7apmAoitWgweUXb2KA==","signatures":[{"sig":"MEUCIQDoKFZJ2bYaCPBD/eiM0Vn07g2Pfp/SFZGRrmeHk2i8RAIgFyFTjGi2EUa2pZ/hcaReSD5HYfu9xRQJcH+87VzLsd4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102393010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlqN8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZdQ/+IJUjkSRVQYa138ncnKggR0S5tTl04ygt7OiYRwYovC6NX1Y9\r\npU5h7vw0t2T53O3TJipIczfKHBi3maM5HYhY4kVX3iQCDjpHnKzfIUWvJSD1\r\nfNxwzzkZvbBi+qe3Uw4xJzqcI53W8SI5vLz28v/+mRaXHAN6q57cQWJzM0lh\r\n8cPg+crmI2E49OszL3B5feCDO6jocYeSmw3j7RVL43lkJPV7xXGrv4FeqHjZ\r\n/esGZB2zcqzPDHZAmZx1gcwy8MrejsR6ukdICY5aV8E4F9hf6T38kr0j0GrE\r\nLiSl2k6iIiKF6Fa2oXaOA2W29FsyRjBRa5owkiSnKeqWGCgtcs/73VpD139w\r\nSLBaXwgK1RDu/xfYYFmnsxtN66AyI58NtPLTlafR8OXTY0NgQktPueLy9jCV\r\n61s+k4gQFRSCNvaJDoMWat/VqiC8FRs9n/qMKaoWXEPVQWiHQm7DgradE3F+\r\n1qEj6ebyaLXLiqkcB+UDrbI2bAZkk0IsrMeKMJy9CAkDJ4I8jHCqmT2oKzAj\r\n7W+4sPz2C5nhHOT3+BJRr4M1dUkVDalcO/6CdGbEGvRlOCUApcRgk4SwUyJf\r\nJCiD0cWFIwPUjhUZFmackp1Bqjn/yWNj9YgbUzP+UlSr5iwgXT1yjMe8+Jcr\r\n1u55LDXFmY8Z1Y+RfoKSY9PLLXiTJsfe19Q=\r\n=3Ydr\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"a069af19ed231469071607939e52a75644bb9037","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.a069af1_1670816635500_0.8938016937054314","host":"s3://npm-registry-packages"}},"0.0.0-experiment.8d8d84d":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.8d8d84d","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.8d8d84d","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5de09e08ad2b7eb009af3a8169afdbe786ffe2e5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.8d8d84d.tgz","fileCount":213,"integrity":"sha512-kRGN2MZ+SOJ/tsha03FEnwptUhMDY2aKGUadBsEDwyDblRomRhgKj1wJRGDALpB+bsXr0+L3iMqIfE63m2J9yQ==","signatures":[{"sig":"MEUCIErV30BgMyqw1IY5BdYwFEzSPD2Yy08TS7B8MKBZYJ2CAiEArJegfjCqhQnTj/HxSYnnv66uhc/Q9vPBJKsv30uivj8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37248768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlrXwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqd0Q/+OiNCe2Zwv58gXQOezebMBEQa7qM+SLnUtiB4+FV3+OVwVGa8\r\nR3XNIUdlABPjoEZEfXOaeXvaJVRoY1ZvJ8/ResuzgzhLBsifRIOAib5J/NOj\r\no0vsP6UH643+kllBga9hwfd1+vdq/vLQh2NXpxi+ISzKZd+cr4I7k2jQXga7\r\nSgRxKRQ6ckqAd7bpf+va7ji5viCIzE5lN0DAkwRYjNewgLwCzDj3CsRjdU9O\r\nEYy/lu5qELtycu3cBTwiBBWLKXYHo3W5wAJvHeHc++dEtjGOf/WBZvsgjjij\r\nmtmPXSZ/NxpARa3zUJCyBGxH2nifkn9NuL9pFRZ63qEL/vTMmrM0PIqOZR+g\r\nLuziJAx2PFdITDYzDpt81l+EpZR704YG9Ys4UlfhLWi/sOpELNxNDqQcHEYP\r\nkiyNkzg+bHjJ63CowjEUdCgfoB41F0CBF4TUabxPQusO/IxnT/PgTs/ym/Wb\r\nOqiPl3mVTzYoT8MfwmlpLCTrcJ2n7482HqhHZCnyyayE0F4OB63wb8Kskt11\r\n6eM8ED3NNzI76TKQLIVrpy1+0SO58gqQqd9dScEIMFGIbep1RwB6RhYvk9Uz\r\nSrHgCiKt1TQtqtJSRM8vFg/ujqezfd1u5BIlMd0IH46QyZhuawX2LLI7YtrZ\r\nu4dxZyQkA76JQvmMsyXwUoMXhnzb2Q+797c=\r\n=uXg+\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte"},"gitHead":"8d8d84dbd1d1996f3d4489ab1347ec3e41453e86","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.8d8d84d_1670821359661_0.4286668166286416","host":"s3://npm-registry-packages"}},"0.0.0-experiment.ac3f737":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.ac3f737","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.ac3f737","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b5ad0d24d7e7f0e6d269825ce3fa71b2e7514fee","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.ac3f737.tgz","fileCount":218,"integrity":"sha512-oqyZvv3ZcAJtGNrQM4i1h8Mveh9DRDEkcy9l0xhlLevZJnPp5VvaHAHHlVaIF7wKAXDwxi9+OwZcyq/BXkfbcQ==","signatures":[{"sig":"MEUCIAF9b2b/YLISVmef2HD0lwGNqZEKuFDlf/KnFfIMp9mGAiEA9MUwSDL3EASPIE0lVVT435jZxsBb74uxh93DWceO+nI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37355756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjlsPIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprQhAAkI5vmSjSBN6DX2ucRFaDx+7tmuwlS+bgXBCww9NBnFquG8Ts\r\n586cyT+szfNUtobmKM/IyEs/4+jXfpQXOH2NPAquNd9w5ubwRkFCkwaQ/KSC\r\nXjSN/owU1WshjFUHguoxvzQmefGq7bC2zFyoLMDtUOqaOakJU8RAW8bUJjYk\r\nwiKci9UXohegGOhzfm+1DCFQ9et+sdY6ekOeSSnF4emCBjIuf2H51toNN9G/\r\n9v8gqpsz4El5DX1oLGxXEaaB+vh+xdSYtxWhE0Rc2GcnQIKHbxTifm4yZq4x\r\nxLZmGvyMxpUIHk3ClvIYXHtYTX0ghqWGCmsBEDDC1Ex+cl4jcHtS0Y3hqTJr\r\nM+Fhl2agedCl6R/Y5GX0PWU7KvAWIcvldYQM9Ox9ui5z2bjASDIUgildqHqm\r\ns8xUA3NbSNjaeIb3TzJ5Y00Z2jfWx61uKpqljVBvqQLmOA89HViAqf5agPSu\r\nIByTbUS3Gtkl6CTSrsHYljA6SgiQ7fh6uQmd0JWauws2sb5kbRslW7tiVv03\r\nagFrvX4a57TGWLbzEO1HSIWg7QaNE/cD9kOWtoQVsJgPRgAHfDfy3GmjNTOH\r\nF0XPsnxd0jCzLBTXylEYWrB/eDxbLeWKLuI91c8iaoKhL8nvLERCmyndikoX\r\ngMLkVbjaxQwEyNCMDWVWx/H2kpjeNc2M0ys=\r\n=P+A0\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ac3f737b63bb6dbf096fdbc751804ca840e0da99","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.ac3f737_1670824903985_0.4654711365738764","host":"s3://npm-registry-packages"}},"0.0.0-experiment.38a8354":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.38a8354","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.38a8354","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"9959873479ff385d9cb006c6cb074cd7d077d16b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.38a8354.tgz","fileCount":231,"integrity":"sha512-BFlrnJIUmPddPZblIALCEJVs8TSvSoHYS5Fl1/ewgdEtcFyjrqiKQ9Ce06B9x7dI4qcdpScDgmTzDVez8vK74w==","signatures":[{"sig":"MEQCIBKBv0b7smb6BvpkqC3ta32tXOF0dfqk5VGFXFPrruxdAiBhLVed3+0Pjz7Ybi0/fmi2ZXFPQtLECwOSVbkicsFLsg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102393066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjltSbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYYw//dBGMF9yRLhBTa66r1stoNQKChQmwtT34KyIXdodVWXuRReCB\r\n3wtLHmNaBA1jlHT8gidLULHSin/AtSXUhHvfSxSsWzaHfAfS3IqzyWp1B0Ff\r\nISo0jB6ov+WweCPfP+naC3q3C3n48moLKUhx4z1+E6ojcFvpcvCxgrNivLAH\r\n/UgbLFA+L0oUbwT/coJ61kGcunJPFS+kSaTY8Xb4QxWGuB6kOo+ySVbKvhmN\r\nZg0RhIsgrSofLVdSCjkkxWpkebdfMDnlBZd7C1/An5NeSNcbde6Q35dZXtwc\r\ntY5GuietqF7yV03tEGiF9nLWH9QJD8hSNhsjEhznFFsbST7kmMh9qB1WyIqG\r\nJlQmgcMw5DWuVlR1/QXjSjw3LQgZxSdT3A+WB0dwWUpWJzr1I5dj8vHsjrS7\r\n4UGHBnTk31jJ626mmVkDaiGXeSobgqj8DOyBJFgZYbGgH5ECMYxZQtH3GPUB\r\nCGiFrO1vgmI6nBH8bmI0kK5P2oj5YsqabrIFiDu5s920NfiOqOejMfkIYQIF\r\nIOGSWcJpMI1nrIWUc5QDjihVeR6nPnTMP+EO3JgJI1fcoUBbuRK3paBC3cTl\r\n/W1R+sKb6Vad3X9Y+6LNm2wjP2RsuQ1s8HZxVlTazpq8KUwA+7D4/jcJrDy0\r\nWNQ2G2OTQn/MZir6NWn+XAwIkdycSHzn5hM=\r\n=aStJ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json` for three different build tags.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Bump package version\n2. Make sure you are in `packages/uikit` directory\n3. Run `yarn package`\n4. Move to the created `package` folder\n5. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\nnpm version <major | minor | patch>\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"38a8354ca31e6b8f141e426bf4f2bf1f1e50e342","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.38a8354_1670829210864_0.5718151093082777","host":"s3://npm-registry-packages"}},"0.0.0-experiment.5212515":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.5212515","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.5212515","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4c22dc348140577fc3986cec3ae8a558d86fbebb","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.5212515.tgz","fileCount":218,"integrity":"sha512-ZYhGHYmbBuKpUwcUEgivHYiUM1mPXPbHZaoduM6llegYKllGXAnfaKZYDl/TtdXsxspg+upxuv6k8O5yfpKVyg==","signatures":[{"sig":"MEUCIAjdd5pdaVEpjh6/NuXGsG1wuEBj7z3RosJ9ZoRWUW4KAiEAwLL28bYOUHlyN/fT7rHgatE7r6qduD9f+oUV7Q5k1c4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37270534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjl7HfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmradQ/+Md6CV7JaMDyKFmlzmLJ1w8Ug7F0o6SSLyZFA4zOvbCbJCPLu\r\nEhQAOXTfCa3QKlKY7ACXcQB442sxuhseFzOQPWjAfStvKuPLYsE5hEtjmNPi\r\n3TMxpuGQc3WPt0tfXjhrEx208fhL9L8BLusBXagbfO5HJXohsdAqvA5KtuJT\r\nM+3xoq9HVMoXwE7GVuIzUFlftSQPvEosmGtvsITffZhILcY1PrSKRkHvbV8C\r\n2zNZ5h7DZ2aC/Dkt5XQjs24dTyvVC4J0gylqp/ghil2LzrM5krv/wpaBAxmO\r\n6bRxZ7D9NRy+3Vbc/hsaD01nL0OO7nPT0dRbV110yc1Y7VyhRs2VCLHzmYoW\r\nfi6QvhBwg3kv8seXMAWvegjoB4ThhYrUoX1mVc6HqxqbwvEZVu3FOWBGot2K\r\nmBIdI/i33yqfMTzgn5ZAKfZN/eX+cGA+L30PTgxyMa+JYJt3/PWbPP/6sGRw\r\nKoobI9hA/eB6e/zf+4gFuP3kYiwyBMnmCqxA715g4V5D411vnVOb2DzCvFUs\r\nYn9bmB+GGOEgMmeWoPxVaPfRp/VXGIsx3VNhYRofbFWcc3S/+w3CozWXoKsl\r\nGqpxZu1dUZSXZt1w+Z59/kW9P2EwdPZuokNXeeQ7ew9TzgXq4zwEMP20UOpS\r\nBIcoGJSvlQpLQTHSeVejwJKwYqpmdNuB0bw=\r\n=vOGu\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"52125151d028c6226146017bddb042c3f11252f0","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.5212515_1670885855077_0.0144944238287672","host":"s3://npm-registry-packages"}},"0.0.0-experiment.5e65bd3":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.5e65bd3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.5e65bd3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1201260bee666ae0b1fc22fd56341d2cae296e33","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.5e65bd3.tgz","fileCount":203,"integrity":"sha512-W5jrB84OYHwlEhBr/+RldufJIAfFQko5aZI8TLzNdezJzlxHR4vzqIkji04YWMNMZiXPSisjV0921+m/TnqDAw==","signatures":[{"sig":"MEQCIAtgfns/8VRfJx+riX4Tkm6PXpi3E1tjcke3ifDYsd0YAiBjlYpfJ0KyoFgVlS1TXRbE1wytTB7EzNGrFqULuYOjZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27022415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmAaYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5WA//VwkWYEX6T4MPvApiUhdbgKtSU0N95gXFYftfva8QmCLdaI4q\r\n1BA56ZqkaCgTUVDV1KmASU2HNpahYpu5SUuXE0npCJewAmwlFgPcI7XLNj4c\r\nPdy/jhdnzr9OQRhEwBaPfc+yujg9/acC2MDsx86rxbDstAYqfXHZGVbDUyJQ\r\ngAiBTa+I8ku9E5MEVRyOj6J+mkln0XkqLfZ1FpQdU4Qj1Z/eBolE3QgpFG4p\r\nYsVNv09nOlJ75d3mbfvsL2Fic5rHpsdUkVSQKPgMEIstsWbso+eCp+PssiKO\r\nyJRhswVhtOOvXb4dncYSoYske2XFfdExy6rqI5RKgczbaJdijv/WBkwAgnvG\r\nenPEMGiDFMX6neS73XTJX2NNFs8LqioH7nOlWSlLDEoe81E963QhBMXoY85d\r\nkvNsdfrc8YTt2TZTAHJsCEc5r0PaHxEIQBI4MG0ryQ6613VPS+dj5Z5arn09\r\nehiJU9u4VJ1P2uNC9KfKY4Ykm32VNqGIghLn8fp/fM/IotOWfygKELgYdbrB\r\ntDR9Zh2grSdX6rneSYfNE1YZDe7fS+GwFVK7w1HnstObMWv6YnTslGJpNqhR\r\nV+yskT9Ex+RiNY/5d855ssJVAQsmKK98jDb6KHbshQZhv90cc38H/QOEcfxm\r\nt1WIombHM8MuD/0ivYQKCWnhVQhP24GniDw=\r\n=YPQ7\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"5e65bd330d9b6077fcb8b1e0ce1d431974a29d00","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.5e65bd3_1670907543959_0.8288548145085519","host":"s3://npm-registry-packages"}},"0.0.0-experiment.742e638":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.742e638","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.742e638","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"317ef8b31b80652dd0c5c46b1342bc0881684000","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.742e638.tgz","fileCount":204,"integrity":"sha512-WrsblqGkO19W6rcyd6AdF/3JKpTpHSXYqs0v+BkgTyugoYZ7BGHG7qEm6RANO6NEnH9iJcpGBJ+KYzxrtVGaLQ==","signatures":[{"sig":"MEUCIQDf44Ak8eEeZB12nwp4PpTIAlhHob21YZyUIlG+PSMDoAIgJNCUwewrRQ1wuXDK2mAz27ZvPL5NVQn6iDltLHs9OEE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27036334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmBM6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpguQ//beFMs6xKi7KoxQVjVuKZkmUxx+lT2iJtUFJ2KF+icXYNgcaS\r\nQPGdURR3S2gmiWbAgoWNtWhYP7xx4oUXgUOrNq/WqnygDRRwvMuls7ycvhCb\r\n+vurLFUMcmCdy7uRbpqTHJx1Jy2+I5HJzfOL0ggc6nzloc+k85+87CCodXWm\r\n6Ita/dy+50Wl/j5MIM6FW4DM8zZxQpkipwm2NnU7qwXJfvGxLWMRiHuL+NMU\r\nNvFI4dd3aIk8TiGIy7u2dQVJilwfCP0BhkbUQL4RK4q9pW6HfWPmWDOEda+V\r\nZj+CCZFDUxpTFUmuO1+0M5gEulO3bcFuupt6TjUy7ocG0j7mgo89a4e5gyx+\r\nklb6bLDJa4ByEjFzbIUmEWE8YjtVwhP36JsDRPfEclZNZox+6IAefUknAlfP\r\nG7gxL1i0bFFYBPWypNlw09iqae0FdWg6CbwPdtYSj+7zewDlaSRep+HqXaFQ\r\nM8qMQM6jvMsJT/Dul7Tuhlnm0UgJwQk+ddshcVZlPtvGMlPPFx2jaJ0WMzhj\r\nOPqChUfG8upRmSlnz3xjDvprKWbqQNFcZSQryRKg3lfOkMvhASqlwyUveH3O\r\n4Kxfey1lAPWcp85kpdGooY14fUNfbewuascbrMGxIn6aq3BWNyQ4dbo3VNlk\r\nxGc53vPZEBpTteybJ3nQYDsTv84jjtrHFs4=\r\n=13RH\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"742e63857cb94eb449d0870f34725621bffda0ee","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.742e638_1670910777761_0.011623826992441577","host":"s3://npm-registry-packages"}},"0.0.0-experiment.8b54e56":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.8b54e56","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.8b54e56","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"176714d344d5a0b8728bc2dc52a564a2b2ec1dc5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.8b54e56.tgz","fileCount":204,"integrity":"sha512-1iOdJAlBQAV1zP+zKLtLldhvJB9I4SYn23ZZL3+nXhnsLqsoF+DvdgRiErgl0idDyfyQxA2wKbV3h3KuvLqV8g==","signatures":[{"sig":"MEUCIEw98I1GF/ed7YBK6fsPzearVrN79qCsdVvGnWFfDbQ2AiEAlUlqUdfEnCCIob+kHMOxLNTyw5vZ8NC+FpwGZQIBJNg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27038695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmCPFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxmhAAobaGbiKgsGww91AxG1gTg+bWdC6xeIH/0kl1URpMQ5+G6wwa\r\ngCRi/8QTaC+6AsaCbdvgJ00BFNmfPwt6z3SAF4lsuH/XOKhPVeZ8i0r6ylTO\r\nOeDVAFIp0aVpstGlaopMgHtK2l2STzomo5jJfiFIU0O0J69EJybewxxU6nkb\r\nJKen0oEvnx2rbS90/NcmK1le/jrnDkl4z2fqx+imK0GyUQ3NzVHcrW6ujM9b\r\n+ehqz+NE1ZWK7VJMb4Uq377Zgqeo/ermbIMSeSlG4YYS4yp+8vgxm42Xs0Bo\r\nvA/4i49dQJnEabvjT4FTyAPtHkYPe2NlhmeKgjTxVjFvdfPFkofaabxy1qEM\r\n1jcjb8YNZk9r+tNqlSZTw1eUHiKKhTT4jcxt62joRbEdZ7ZH6Dtc6/cW83Nf\r\nzDn35MH+yf3fm3kzZAT61B6MzUvLgpBC24uk75cttpFo8WFAm6bq91ahL9Zb\r\njnyGt9ASJq3+WUk1GnOeRk/pFprXK/n40cKKfHjoFvVzmFU1pp72AgrmzXCA\r\nPRWNXsCXHqSpsL/CeJqaog4fnEc5LM8iu9iK+bI7hEC0JjrVqlDEPGtls3og\r\ngFZ/BmHle1jjnHuDUizebMkUkR6vm0XIzKds46GAbdomftQVMW4PxIkSrIMU\r\nIe1dkgvlwhGSsklA2tzxI1HNqAPLBZjhU4U=\r\n=BUI8\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"8b54e560786f529c91555c572c4e2b659d325a43","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.8b54e56_1670915013498_0.03779012438851259","host":"s3://npm-registry-packages"}},"0.0.0-experiment.8b19738":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.8b19738","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.8b19738","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3e79dbe328806ab764fc59105e32bb27548de53f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.8b19738.tgz","fileCount":218,"integrity":"sha512-yyC+aCKb+03v+xgdUczqi60fVZq2u2qanmCb3v4iO143HmrwKJ2gx0besYhxgargmPfXkQT91EnGfCIqC0XoDg==","signatures":[{"sig":"MEYCIQCdrU+M5PHGsaMI6Z43RrnLHQSZSHZQ7xAlL2B2jRW+1gIhAOrGDaM0IKg8CFOKmRuztaNRgX0cW4IzKHv8J8LH51fm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37332966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmOyxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqbaw//eJdc1X+4XYydwddfsdc+0qJtXWwKmufuGHSIPdDWmL65mvsg\r\nLl36MnUAsSRNjV9lXAjajke3XjBiG40d7sHRFHNLvZSHnAmI9Boh7ytch37I\r\nnuHb3Le/DO37EVMFuNfmTAxQzzIpClLdWNO+tcr0AXiVyUq9X9/EZ8AJeJFp\r\ngei+BCvbd3CbCbPF293E6TYPFkx7VGz4iZkV4rLwPQ+SjtrrQ91nd4EsGoQA\r\nzq0/68HJzZOxLAjsu5lnmAwdWa+eZIMjYeBrO6Jdt93on08ox/kT4HTotV7m\r\nht4Ry8wQATNkBTUspyjG6OiXzfZ01tz5t1iDvMRAWSgrFq6my1Ypv9DoS4AG\r\nvHlrlOHivMN9e8gVQ+X4aC5CyrDP5s6o80084Pqatn1JhnOcMFMwbD6j+ZSX\r\nrl6BSvPvFuK+l/iKZ0w5bxS0Syn6Bo0N3TjTy2C6okyDVcYLZcbzzJQw50au\r\n4oGzIUnsiPnhcyyx8z45xh44JjEmh3DmFxg89Ietqbm8rjE+FUwPyhaIAEdZ\r\n7pWjwjVuwo0TE+J8D7whCZxiRLx2uwx7L3jZGvFzeODsRncQUMlXylJKkcB1\r\ntW1xgeTAtIVj+rp6jAae83xPVYfqcy38Ww4N0bLVzUvIWYW+e+fX16Jp0HvS\r\nbDqk96QJdG2UFe7BdgxsHlogN5Es7grtZdg=\r\n=hRon\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"8b19738709b73f3c32e86501c7d51278535aaef8","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.8b19738_1670966448983_0.5257239665454505","host":"s3://npm-registry-packages"}},"0.0.0-experiment.11de1e3":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.11de1e3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.11de1e3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2b830642b9eedd0ac3546681cd5a5c460d0c2b20","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.11de1e3.tgz","fileCount":219,"integrity":"sha512-jUru37riFOf5sslnW4cKapoy7p5j2a14Tw4wjwTEQkQ03pB8MbKXyEqQdhnq3SkKtLm0AaNmNWcNV1SM+K8dQQ==","signatures":[{"sig":"MEYCIQCF1Ie55WDhh8wAHzq09uhaXwfrSCASInnxxIFcv3YC8gIhAN9QB9Xp3MP7lmJp58+Xov2SAxUK8aIOzgwvdEFGj5sZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37178246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmPqEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrA1w/+IU3pnZh9cvBM6zEqwgTSi6gohFS458XnpnnnTWZBmEFkjqU9\r\nnCdJAn8a6muIbTeK9rbUCT3I6Hl9ifMmRZ59GzyBebIPGmOXnakdIoNJIw1g\r\n6SmtIGMeoE8OdCSE7DCh9baHDOcXHm5znM/NbvEZ18xckQG/7AXPM4mCFwbn\r\n9QKHbym2VzN8+1VZ7dZgxWhPG5qF9si8nYEQYUjVLBVv1GdznGK5LNHGbmAS\r\nTMIwAHpIzjRUTNkcF4KMdk7qlDa6//tDr0uubg5Sdfouq90IeLGUFMGoBo9R\r\nENZfIo34htNnHDhdRUaxV4GkFByPjOHjqZqAeM5i30Kva8w/cdNCjSwSzowS\r\nS4xrcVMHW+5CaSD4OcC4d3g5cXykwsV1MPqPgkdU4qKFBvy2GTwUCciUculI\r\n23XP91BY1wUkIWA8RqSDwHp+CJRat++V0MdDyUC4W30J1eQaNEuYBTgZIUii\r\na7tpyUi1zxJqTTtiSsFwrTxK1DaAmM2xEZCrkrGK3uPCYw/iaFDPZSShriOE\r\naaQLx66rWh1KssX3LrRJRgGDv4lKNmG2aTGxtbJom0dfNdBHUFQELMbpxQKJ\r\nd4bxQPZ6ZVbm76mb/aYF1pcno5gQ4u1AaQeOf7x4T58spnugWIV26OzEo/z3\r\nhxY5rIb7gFyJo5LoqKdLqteCqD3ty4VsqlA=\r\n=HhsH\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"11de1e3987cff780ff39ad07323ada33ea4f5a0d","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.11de1e3_1670969988464_0.5616509859701815","host":"s3://npm-registry-packages"}},"0.0.0-experiment.fc441ac":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.fc441ac","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.fc441ac","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"65a68c14c9976ac311d8be56309a6ff8771e9d39","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.fc441ac.tgz","fileCount":204,"integrity":"sha512-7n4IFc3+1GfCn5+jSatDtxE+5YwOg231PjOuU0PTWn+77SFaXBz8PK2JMs17+ndX/NnMlyvrgmX6fcu4sbxYUA==","signatures":[{"sig":"MEUCIQD9WN0/lh/gPmq2IhzCnHAhu1Mjbzu14faH2egusu8VfQIgbziw2K2LfQ1k+yk77Wpn3C0p/KOvgZRvJyBIKLimA04=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27053827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmU2fACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodKQ//fNl1GqZcEqDrB0t/BzyY+MVPaqlZCMBhbumL03qELBj+tT8H\r\nMOwvg9j6IxgokDkeEMb2xsCD+XKtRTkw6qDVUzHFKZl/ouDGiRmvd5Wrz08E\r\nDy79TCUHJGzL++CtpvcEkw3u1soFUEoj2qUWuXsGCsB5hmIFvgDKawhh2Fm+\r\ngf7aIhgTwReHOkIBo0vq3eLQH5e20ZwhPXKycfCl2RAarpdPQYpTicI/mG49\r\nP3KVxmpLfBqVaorMa8scoHgSQS2L6FAAuDGTLD7AaLrRicujXRJfGrGAHm8S\r\nGcgX00Swmd7F/cWhDmmbYegLYnBWAhgHF2rlnYJqlORDQ7hQVJFBoRtwcVFa\r\nEYk0b4B2PJK/zcAFJ+XWigl5830HNfRkvj4qBq3ePSxSqyAVTaV8vyjBEqdX\r\nYU0tdK6agm93MkZBPyLxz69YZz74VDgM0dkTu4ymuuaW63rESodUYGH5WTV7\r\nV2/b2/YnJCl8DRKFfuvJXmVwNIeJ/rNLHmU7R0FXeg5e9CzCKQnmVZ6nGXZK\r\n58hORQ3SssIxc+CLqQWmBJ3+kt3U3xWPQzvsFUIntPnKqSEcSPeWj/8SWH8I\r\n6CEyp3Cs62DF9DtMSo0mu8xZg6Bb5sQAlF0Ic89EmDWGswUrqZ4M5gTyIy8W\r\n83magGhGQgaP1FfspN0/+G0blEqNWSDBP38=\r\n=dCaY\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"fc441aca5a654193b51c51bb6ac54ee1145acea9","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.fc441ac_1670991263372_0.30546566912559725","host":"s3://npm-registry-packages"}},"0.0.0-experiment.5de95c5":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.5de95c5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.5de95c5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8919a107f391e5a64260de982c909c7d61934877","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.5de95c5.tgz","fileCount":204,"integrity":"sha512-QwoYcXwIZXC/+eoyz9qoQ2+CsDYeBSz9m6swoMpCnBIhD9rpmlFgN23JjYAhOA5oE8x3qEoGCvK8rctygUv5Rg==","signatures":[{"sig":"MEUCIQD1YXGgV3R5O3ncuVVWJgQ0V6VdX+fZY63B1PEGWUPbZgIgdrXe5AJ0mjX1UkEqsPXvedm18lsIbW/b5nMaRvJ0B3Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27055251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmVkjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKqQ//Xsu8w9C00TXQyE6lPXLLQBYu0FIEDYqSG2KVBcimdChPA2Xm\r\no2eNGbgHYuKmXi+d720PVx9jhD7XgkD1djuy3wBD8y6mvTORuKlmsLsxra2n\r\nQU7OTnSjis8vSIk0d8gOcPevXkl5jGprDpfM1Q/Lbx+gD51xmV5STpXAiJsg\r\nmWuB3yKSFvRurRNHUUuXUQXdePxwjK41uxAXTA8cDC8dSvTx9CRZhKicVxyP\r\nKYL9bgquJngXEU+HjWP0J8AoeSQCcNvI6H4Bla984fd87ivgGrzyxzc6Ado0\r\n8G5RXASrXfrfRbgFE/EXmJXmD8NOZoJPg45Fn7V1W+aVzIUlfjotiwovTcGf\r\n6KjYKBwV5TAcc7wWWvrYHj2q2t8euLy4LaD80enxKsXhszUdV0L2toT45sJq\r\nfhGoImdvu0Kdu7fPgWlP1OhmaQ+1Bt0PyVcZwSBjNVheE6SJBEnZpfGG4vuU\r\ndNW6CtfeQaDYQIG81i2qi+Y467t9ROnTrk7j7uUrVth76fBM2rd+3KPmmYLY\r\n6KhjHi10ADDR1+RROgCpNAtK8MBfKKAo0lR623zIogs2+ovLxOuLdjHKJ8Dh\r\nen/59qLzujE8u4tQ6dYXQNH5EwNJLwIB0TNvgPKe/zaVtktNXXny9kMN2W6g\r\n+UXZGL02WW5bkhCKLW0nDgH9H2Wiq0l0zvY=\r\n=4q2X\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"5de95c575a132dabc32d95b6099d587a941fcbe4","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.5de95c5_1670994210919_0.9582339625890743","host":"s3://npm-registry-packages"}},"0.0.0-experiment.7ae525c":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.7ae525c","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.7ae525c","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b5964e5f4e7366c33c93cc25f6dabc5063c90df7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.7ae525c.tgz","fileCount":204,"integrity":"sha512-3xpIay53VyDQ8m+K/2yCZ0SDrXhaAPVaOKe8BJLCXSvs4oy3qyGkNmrnstbUMVIJ3guTiAW/+3nnLulSYW1DHA==","signatures":[{"sig":"MEQCIDAhkFdHnSy3u5GttCDQq82/vunfTT3H/zV+67AYmWT1AiB7oHl5w0B41et8APVQf0srJVqL6dYS4b4BLfBY7dV27A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27057978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjonDVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrb5g//dMByrg1iBve49ZEb8soHasQMuAwOaxGnw41trHtVfzgsLM6z\r\nq3dTEXxJ4gCLj02HCzBfthmjFfpdgVR0vKgp1JPJyhczToUZxzKEVa9TM47p\r\nm5awTedlYRGThVkENja1/xLbOpFoeSQTKxV2wUsKazcvg6VzckqGSp7RYApr\r\nk99XJd3tAuvC476cMhtzqvcySoU7enSR2621mMubW3BCgNYdfPmt1Keovyq4\r\ngsXVNxxdLmWLRLZ/qeV21wboYlYZNcwKJwR+ds/YtKyeYbqnNFe+H0BLkD1V\r\n0E+aYqgKSS+WyBYcLPnR/ITFBpMIHPzc+0Dk9Ub+i4ZDVb70+sB+VL8ulgIp\r\n9LeX2nsoGSXpU9FPTJJJtux3uhJQVk/3AVcSsXU/CrAAT3aZclMBrKXLkjM2\r\nyPfiJmSwxY9jfuRA35EpJxc7rQiatoKoEUGV35m83uohDkCXT5Uha7mlRP3o\r\nXDbEuDIbo4vSs/Q1hdEODU3cltfRhjdrV6ko2VNo7SKIzg5y56MWxZ4orb2P\r\nIAy7XyuyipMQ1iSegm7DCi6uzrWQOngxen7JkkDgvbNydqErre+i3fbPkAKC\r\nL6hGQwgdP1mNAAtRZIeW1KNknFMGo9kIlfKHqtzX5CsbQEb+QHuzR1aens5+\r\nEz5wMwqLWYuV/So3JbYoQXJnA9zgZTBpnUY=\r\n=83Im\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"7ae525c08d9a658cdf4f7b6b26412705fc9902fa","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.7ae525c_1671590101032_0.6431867463056276","host":"s3://npm-registry-packages"}},"0.0.0-experiment.0b06bdc":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.0b06bdc","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.0b06bdc","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"cda11013f05eb294c30a7d5a135236337f3452e4","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.0b06bdc.tgz","fileCount":204,"integrity":"sha512-KJWfzkKAoq7ais6kPKcBWBAhCSN3J+LoeGzCPUYqaienymnYeTs9G8nPu3Y4gJSX/V4tuJmS4odvVlJif2Y1lQ==","signatures":[{"sig":"MEYCIQC1TkxAh5tytQdHI92DeY6tte2iIk5HA7mzgTYKaYVJfAIhAOGAj9ra6OQjbYqlF5WxsrVuXWHj2r8n4/TjS8uMQ5hs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27057361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjo45lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKcQ//Q1eEHoYPVCU+rv3qEfWb8xVDgFo2Wy5DwO26OGA9Np4sBMeM\r\netd1zpZ8JoorkKjjPTXiHAZtAve/21TRQRBPGQxQ9Xq1gABrYtJn6hh5ZulM\r\ndCIVbfYDhMF1H2Dn5O5pjkABTxejz+OF3oH99ctGx9ALGkVA/9BXyjGPC9A8\r\n+/hJc8vKPDZV0LXAS3wB9/lzhwWUAUtY6rAgtbi/IOGnW6BX3gezvhAxM5B3\r\n3om6b2HAM4bu8udAtRsuoS/A4l3WcKNY84OgzOTS880G0ilMt4t8dOZ2ts9T\r\n0oVBFVqCtRjaTaInON8TeOQbp7M99Trg4243kGLWvwvOTkFn65Pu96Jx9GH3\r\n/bD94106UY0+p22p5J6HVrUOEaMmPz8nQXCiTQfFI6P8lmImXu99TLLki2vi\r\niBaTpdFQ54bLqpwJFZKpr9PoHSBckg7MobITjOtVA3PQpyzwk+ExT0Bk97vO\r\nMCfCie8j9/4LBHMVLU+PhILrF4nO02MPnzT6ilHMA0u6Nu4ulS8XhDLBF0CX\r\nXApSh+yRD8ffhqJ7VmUmDDA3s6pRaYeyh20rjKRkqdDTUIQowj7cbq7BATTj\r\nfOHTuvyGqbdL5RSvkndLZhfcD0PklZ87NpqCSG9FHPdazWPxqcbMdcvrR05L\r\nzfirm5hmlai+ow2S6T8Sjjvks0Wd3fCXJvw=\r\n=1C71\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"0b06bdc22958b15d5b226a213dc860bcc6847fed","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.0b06bdc_1671663205268_0.6674038092686443","host":"s3://npm-registry-packages"}},"0.0.0-experiment.7e5ba52":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.7e5ba52","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.7e5ba52","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a83ec32646cd39af72c1f395613ed25c7ac5793f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.7e5ba52.tgz","fileCount":219,"integrity":"sha512-VwkyJmAl3T/d+sIErbfEVzponbYS5xFxr2R5o5DYUS6XtpWR6XToPOm7b3V2NbTp+LpCdTT+rbA5aXuFqMJMwg==","signatures":[{"sig":"MEYCIQDnE0GVQcb2QtxfOqChIZmoHPljfZSq7NODLz/35ucWFwIhAItC8b0bp3qFlRTQAKn3qOczOxQmpjRQeM22ksG+b5PS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37198484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtKsfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBnA//YZAHE1Lcp6ZpbP9fF4RUmo+KFFMdF0ZZcViVObyNTTsVdOVt\r\nHfrOwz73lLyIbWzkefERB3gZAsltRgQYWMGVHvx/6C3FXul/JpGDUst1mzY4\r\nkk9n2BEMgWCnMYtVdZMJeACaQZPJ/nkzg49tX/hdk3y/rLeRiV9gXZXHnWVT\r\nvpdrOIst3+Foe9hKQdUtN1OubtSwZz4mbUDMertmi0oNNaEa0ro8D2vfd9Pj\r\n+4u3B4zSZAVr4/C0iUrps3/K50/+8WKLPzA9BX+6c6uX3vXLU/EA/bl5vuHJ\r\nCnzD4QCzbH8bngdijUGJUS5mMKtEKFaeymLYK2sCBZxzMnI5K3/2hGp+gO1Q\r\nDT1WA/YuKc+Q1+J+JDIkaVVRMDABeVdbk7Aebqew91O4QXmN75P87Yfkw4H2\r\nJjqC2MtXpHIdCj4XuZx7led7+oLfia3sdHzmMkg/cp9HqX3wmldMt0qtrFWy\r\nStnzdRbpjqBaPzsEn2nx2zzd1iTV//66QowjUldef+IjVIPxDjVfzXo4v8A8\r\nlccVCfLss8MEN/85C5BKP1miNGvd9ADu40Gj0ZZITWHFity8jDtn/KTx9mlQ\r\ntMJZ1z2RuO9gd3uk45UztfA5LbkDXp8mZ27HZEmMMP5y1Y0qPyj/DUrXrfjt\r\nu7ZEvuA5Du9+dlcdkzBmb1TFVfhS/ZTYP3A=\r\n=Y+uk\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"7e5ba52ae15c4766b7f070b53c40052292a4831e","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.7e5ba52_1672784671583_0.2565769799806492","host":"s3://npm-registry-packages"}},"0.0.0-experiment.4c331b8":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.4c331b8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.4c331b8","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"75e707b37206e83953a95f0586b9194134ceb3bb","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.4c331b8.tgz","fileCount":219,"integrity":"sha512-p/wzkILKB3Gkj6EN8niYScRjyCHMZIKGJnH2syXZ1adU+QnbExu9dAHcUujNmYlu8+IO1OzdMx4V9zr2QAk4qA==","signatures":[{"sig":"MEUCICxvuL6yyWdMEBxa/OpswXyvQcjuLbeROu0O0GjjaCANAiEAsTSVal3uSiONRrhEF1PPofV05B3jmCU+wYkquu2SpZw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37199552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt4P7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoaiw/9EjOpmLlrCdnuNMgH5a/FFZwdlFZU+oEfAnr8Pvk61fhRPOhW\r\n4SwU7vGznDut3PMFJcRt15X/C63374XxEbcaO5V2JSgSh38Z4BpolvGYGScN\r\nXB2xZXv+uWV9AENwDPED3sYtiruiolI0CM186YoKqVCpc7hy95hGPYPIbtea\r\noIKq7tjDmVyvC7bMxOL3st03/t1wvaYOPZYFldWyNEonIt0yELQcIJlBR/ux\r\nzrDdbGqzDqoSv/QQ5yJbQFnH11ZYYdyGO8V/+mqILcvuLWqeasYAN/rveJuX\r\nNjiPWzRpu7mAxMqZQ5fwLVyDo6jH+TDqyz1Cli/X/f/QzEDzzsNc4JvX6NbC\r\nodmCNfic2tNpNMidIJ19pHUUhM5xgUPjClwWORbOqRmfnGZT4WLTZwiEGHR3\r\nyBreDe9Pt6BQ3A3pRa22dZqr6jqyq1zx6mJh0PgxbjMpiPm6JLPfn5fJx7FC\r\n86+jk6er6lZpQZ7Em8y0qRw/dSIFWHq/WwnAI2mZ7DLh4rCpXMq4QzKYrmqi\r\ntSQ0wd10YrU6H+81LOqu+4mz/iXD99IFFC3/k5Y5K3O21QrCljZVt7YlTFgk\r\nz7aeepY7CfQMmarlX/RU7dt+rURLR/qAARNX9gJfMttofiDtSiEs8NWPF/eG\r\nmATSznDXFWyy5DP/Mc64GP18rnJnui308qQ=\r\n=I7d8\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"4c331b8ea7cd2234f4217011ed9fde61793e513d","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.4c331b8_1672971259501_0.7435324242511339","host":"s3://npm-registry-packages"}},"0.0.0-experiment.742e798":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.742e798","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.742e798","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8a564ffed0b0165bc71dea39b070272af1688e2e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.742e798.tgz","fileCount":219,"integrity":"sha512-yjdlvDdJOGqH259+BLubpeu+8B8cHyLlwJF/pf7NwyWjRx/cxsVyU6+yY6lRoqYhap1zDyXJJlgHNzBbwtVu2Q==","signatures":[{"sig":"MEUCIQDtI3PRH8BKXFhaGntgj83yiGx/ppF5E2iFdd1nqDFwgwIgVf5wEAPJuQU2uvVDJLMJvLTdt7YSBPfOMw1s394xhgk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37216166,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJju3PHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoA1xAAmm1FLoYDRMa65awJZzVmu08OdhCuqH9Ff/6v6ORZ72lZ8w0U\r\nkrKjw1QmylkPJvxb8Swf+vH9Hi7kZKxLwRVkVU1YR3yhOzgYML+51JjdqXDk\r\n0ozGq8B1TCTM9QXBH9J6ExX2iHTTG57fumTjU7wVakRbB8u8MJOwFM/IgwUQ\r\nlocox38hEtHEXWkCoFI1nXY1j7/nJXXz8HjLGyZZZjz8dDwku0lNCcuFnRY8\r\nuU8GYXOGXfCmztL0riYCEqLIsJgBiQM8g27y6edJfEsiOR0isWnl7g4yRJ7h\r\nIrRC9xOYvipoIzDPXPLax4JXw93a/hMM8BRABGA7fJzEf8NyFtQzhm+x68Xs\r\nG4niCI7aD0O2hf2FE/r9nV/+gJVeKNIX1wBpCmvAhYwVTq82Mg4min8Mq1US\r\ne5ZwusF/5aZm14OlqkCqPPPA6k4G4jyO+OMaHlJhmx5BpQmeEyCFM4mksnmO\r\nG7F9k5hzFDzvKobLKy9AZ14wADpyYwOhbavvlPAjdEv2ML61PXicuKDSpbIX\r\ngvjYnAbyVw58dbiq3L/+7h4Dinl8EKdDZ9D0/Hw2ug6irOfIKuDnsOzOYvd+\r\neW3b1W1dryOlP5nzy0g5sXj3lgh01tkRheL9JG3NrPL6ek57vts9wcd17Mr3\r\n6Vl/OAu/uyLSCgr69arQFmeClzXXKfhyaOU=\r\n=MlRe\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"742e79889463a4702b588094ee4bc3f012c911f8","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.742e798_1673229254633_0.30521767193239113","host":"s3://npm-registry-packages"}},"0.0.0-experiment.a3fc591":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.a3fc591","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.a3fc591","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"15ff080e7c30c4078fbc776f719b1d5f202aebbd","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.a3fc591.tgz","fileCount":204,"integrity":"sha512-Dei3FpQR2oQIe+Yw4RBYjFlLWOLv5AfqaqyY1dfNCbEjsvTObm5bscL0hktlPvQTd9MqiRExwYlx6Uh3qLx5WQ==","signatures":[{"sig":"MEYCIQD5G6/BxqZbtMO6tTGf+vfHYBiJqWDWYlSf5qxOuYWPIQIhAPiWPlBKgw6ppSBQyk0ubl7Rhczg5+8gLsZ1aumFsDsY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27057361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJju5AvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7hhAAirh8zhG3rRP7kjtdHpEt004iOd/HJ/nhgGxSkRDZR9rkzabU\r\nWRso6/S8cQX4iqu1leA3gz/mcCH/T/0KZGRO5r0eHE525GiOE8VUyz0kbhW+\r\n/ruBIkF9zsVf8Y1AZM1qEJSufn9MjMmXGUeqghwmHZfaRCIqFupPKdABVdmt\r\nECx3cIKOKpqMZUmys3VHQjhFZ4bZ+dh29klO3JjYUX2OVhDcifrR/jKADm7v\r\nlSF1vjZXessFpDZX0FUVwdaqfH57JWHHwiKNykjW6fVVek67E9C4LQipccLw\r\nmqiUWV15hFntQ7yOJP0O30rqMhktN9Y9eVrmwisfO2U/R94GztpHrKTfoZiz\r\nsxUnfCDraK131jhwuG39/bvCP+IU/jF2uLwc0JK/yWHv1HSHl3jcBB9GQ4P/\r\nWKtX+aVdkGI6wkt57WIN2qpZZitNAXPi8NVVBgp6J2dArXYMw3jRA81fF8rq\r\nRIGL/MVySgzjTUZ/j+SVnjy9A0nnRoHKtrAAU8DJezFkozKkeiA2CSRlbKNF\r\nNgVdX4dZSX/fFFzot3CdnJ3PFRKmVBis9oTRtWa2pTNCwGB5gPsLxACzVO5m\r\nsdrbph/5+cJJahhhNkxODF/ErF7/oQ4yTx08hK6qbOKwhCpdSQC6VFK7G5cB\r\nPfO5ctNQW+Td/KM5NbORR6gk0AbQhxnBBA4=\r\n=A76I\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"a3fc5915462eecf3c9c964d1dab4bf53457211fb","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.a3fc591_1673236526766_0.0953481142158028","host":"s3://npm-registry-packages"}},"0.0.0-experiment.fbc81cf":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.fbc81cf","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.fbc81cf","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"87c5c0d5bb26c0af3b09a0982d4a02423c38da83","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.fbc81cf.tgz","fileCount":204,"integrity":"sha512-cr7d1zQnKw8j2cNNKyLgEOTTwmBh/5B5br7shvO52QwaasEmN2YAzIu+DPX5ZJiF5C3qQSk2OKeIiPjTxjUIXQ==","signatures":[{"sig":"MEUCIQCbCYgwYJlJ6VwOASDyNE4+xXk8m2oeLg28j/j5jQronAIgfZGR+mzEEAnd4LciiiZ09Kh3dP0y9WiBRYVssnxqWP4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27078307,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJju7iRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwrhAAjJg7oW0Xoy/Wh2FKDoK1fXINSDP412oyNZIyhyNOWJzJaBq7\r\nuxhLjyn6+m52eTJOEUx38Lfz1tcNNCkRvafm44buFsp4Jta+CR9HsVL8Xc1a\r\nUoSBaUnIsR4nduPV6uMJ4oSWcXwcrCogOnCW7WMdfinXHw2HBZcLGnY3sneX\r\n9qCHx0GNLkTPBh872xsG5kJnAaGmhWuDku/iDPDhnor4cHLtq0gc8pA7/BC+\r\nsdJhwjBvd2jn2gndwctmoXLbsw7Ixt90OjKXLYW5mxnwSfIoP4+HCEQ5OkL7\r\n9GyWFoEkcj7C85if8Wjc2Vav4s+SgjHK4bybu5h6cByOgnyF+DEhUJkKTTa1\r\nm5u2/UWbV3JI4GENrQSkROy5C+Kt/k7Y0JAUlhrvEIp6N5lbkX+q1+nMxurO\r\ngmJ+BPeXpC0KPLWbRedv6qlVOSmsBWh5q79cp1vDfjpBjwglZ6iiXhqkIcgL\r\nvQuvxJaxhITTLx/9M/cdjYi3IRNx7UzfD5VwOn18Krslmq3lwoOOPBC70puV\r\nySX/dXHcqLpazoaVXzQWwr9YyMzd4ZAPcruy3zSITVFtp//wsA3Oc5HujEjY\r\nwQxzOQv/aoLqeTLkGgfiMBiGvUrnUcXUKXaC3Zi45XfX4/MOKXdoaX4F04ZE\r\n/IoDUn424ujR1Y8it2rjcEu5kXwNIx7SShQ=\r\n=eXIN\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"fbc81cfd5bbbe6a4c08119ba12c7e5d7d0474512","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.fbc81cf_1673246865366_0.9386849939414548","host":"s3://npm-registry-packages"}},"0.0.0-experiment.8c1a210":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.8c1a210","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.8c1a210","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0c4a0ea11aa84a20b6183e41c65671399b8f4bf8","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.8c1a210.tgz","fileCount":219,"integrity":"sha512-rT5B6ZeSMTqCFlSO13AZtE+RfwHm8OablWmgHx7CNbMZxFDqlhSSY+qZ5rNawENH9F6DYzd8960toWeXnbPRPg==","signatures":[{"sig":"MEYCIQCTufeYjvBvek0xQw1HmhsH/SWn8ellEmtv4+ZxkxnqgAIhAKh3xv2jMFMSkr5TeG8MoXuCKn9jILSU34Tk+Wo2j/19","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37222678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvjd/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpzwg/9Fl+l3QhY5g5IF2CNurfFXsDa/TEgL7hWmaozxmQFCDN62vY2\r\nz8hJR0tFV4wpL0z1tRMn30Gp9IKkZOCiyf3AWkVS4WV/n97riib4FGRvnYYg\r\nWWZK/B6lVMiirCwhSBvCkPTvYDhs9xRpL7tScqW3oibOVW0Kf/xxzhqly0f4\r\nUWoRJ3SnHrNWBZfETARRYKWQNBYgoC96HTb4IEoxpGkv+PbXV62Mr+vd+IoX\r\nEisAElmVGfUICJXZh8lunvlWDvxVGqpclXJP6hUIZbOFjBVT9EPL5u0y9pDp\r\nG4T2P1ew4QWbkENNHPyWltXGVjVQ5RIK3rgiwr3IKyS15AWV8AWUu/rNtH8b\r\nnfAgX2FUHxpuciJncRECZ0Kt3myggDLI2J8V31/5H4572zMT3RUOTPYpl0+g\r\ntOgXK0rhixtv9vZ/lwivMfw1QxBuCDtP7DaINFEpBuMviTxxH9lNpOvDlIls\r\ne3MfnUNA1PU7Gxxw8opA/mFawWlqRJkUzyUQHAysOW0+XQBjq09izt97465q\r\nJ/2cjNxl2zmwo9V8zNfUVN9hLYw5tlwRBfsEKgpx/Of2r8S8sfC2f34odrCh\r\neIsHTT/HQO3vP0mErr8cDtgqBC53UhzMDFkT33HPP96S1vpOLeS/M3rmHcIm\r\nIhkqFEKB1gnWtwPua6U2spR4O2WILLlZf0A=\r\n=OjPD\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"8c1a21039871f7da6466defc728c2a00b8bc77dc","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.8c1a210_1673410431291_0.9426611640526137","host":"s3://npm-registry-packages"}},"0.0.0-experiment.4e7a7a8":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.4e7a7a8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.4e7a7a8","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"45b40f5f7cdbf91bbd04879a66446de3878e6927","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.4e7a7a8.tgz","fileCount":204,"integrity":"sha512-BDrXzuKax2Y2SRsFTWVvF3uWN5X1zRHp7mFgGShVGPIYZm3QPOkyohWPfsiimtkdSUXkrnLqZBfFtufQIPyITQ==","signatures":[{"sig":"MEQCIAaZIe0mc4dxKdxuVLpFfrrXk1qHkHXmH48RuO5sgYaRAiAXEg85i9UWjqCs58th0LnJXjnkZIfxQIdrBHvapftJNg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27078273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv0gHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrhxw//QoAaoJi16UbTVfAXSTiF5uh44WZDXDOgyYreFnwdTxP09tb1\r\nPijo1eq16jHJVybJCdWmGjcjK2MzMSY4fATHUIaMPtAXNe2R6FeCEVNXbzk5\r\nF6hy3hxdG4g0FRw/RJHS6CBJJSLaK+URjpOhSSHyTggauCZ0DlzXbbp7uq8M\r\nHQB2tP+tW1KxlvtVwhVdVV4aD2puGOTt1SQOIThdApwis+BdOijBxxSSwG5P\r\nM1grIAQtAbRiTw+VhoGjms5Oy9CjrPB4qXsJ6OIE16yCauL91B5aG/WzvNbw\r\nqsY/79ZEMs/IX9UpnYLtPpyI8Y9Qw5Cr3Jsif/BdZwchoT2fcegf0Mr1EFew\r\neGvHiXcCbdQMUolalgndAe5282CfeF8MpxZfLibgNO7ijYMXPxFTu4E5FwA7\r\nqOTLBLEwEUuz3/5NXzwU6klLVBGxmhE+nzsTCIOEfKibAF1qY4ZIfq5UDF6o\r\njvf+8SYkrwPIoQ0mhm42Rn9IS88sh/4BUMjh3lMGJ8hnTqK/9xWiHivV2Pbd\r\nmmnRzDYlXfFWwf4Io8lMOu+4QztfQEV1pBb5mHQ0aXikobBX2BOoBvsnGeQy\r\n4sOwVkwKR9vRk38yga2uXk5ejqjtuPGv4EdZkbCflqNYdtF7RfH8tl1Zo7WL\r\nQG93fNFBlEvympDLxFul+dCawnUBNmt17kw=\r\n=f8a1\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"4e7a7a885b0b9fddbb350a19bf61dc5abbaf33ef","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.4e7a7a8_1673480199345_0.024104481146906886","host":"s3://npm-registry-packages"}},"0.0.0-experiment.504422e":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.504422e","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.504422e","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8b67fab020bde8bdcf6ba186adce194a1d13a36b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.504422e.tgz","fileCount":204,"integrity":"sha512-UckoFjqwU6mgghV3p3ToSclWSe3Rr5ZFe0qK6AbQr+zZQHVW/hZwObYDYMcaYaePR5YKKmLKNMljHyT4yUHEmg==","signatures":[{"sig":"MEUCIEPcVgiSexo3hqsDAAhtc3z3Iu/oZR2YFZ1gSi63YDYKAiEArUkLbgm6rkYmm/FyxIQ8W6OFrCk5ZM2l6et0Qr38EFQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27078273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv0ynACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFtw/8CQLv5SJwVrgJcbqRKyAfZeqOZslr7JuJOIKNGSCKoDtLc5XL\r\nALSw2BUFYFvT/V+jNUcNpR0aPrLgnecB51Ab931Po8cAPWVkCScAiheGbmeh\r\n1CyhB4S7/4GciBfv24887XmM32mK9egyGkwIqsnoSbj99E4L6yMjjW0o8FNb\r\nG20T+jkEUrWniJqy1vsDm2cWs6M1JxKgPGhMYe1vK+mQtndZrHpRsFmllbkp\r\nlZX8YiUTikYyw7kiYsv9yt3qTUj7Zv9f2qMPo9KOxl6La4GpoHdbXVbtSGLi\r\n7hpZ2DVtZZwizrDlXwdytSNtV/menfiI9IQkLgvKjoFrJtVbE1ocI9ri62WK\r\n9wr1EQOzvG9pxoumsV0cUg3EAxxJp0fY3ShgfkDSUXExeVG0qBrP1Db4oNaF\r\nXUP1LnfE02bI9h01jfCFJ9iirqWhEhpYvuj182at22EOsNtnDF/3biSFabou\r\niKDgy3cBDpIyvO9ib7U9GKDBTC+UGqmDTskUDF9IsKAMtCnVcM1f3wXGCsG4\r\n5P2dFW+tV+OAk+uEwMHEYgcWdO70lcm9OxhcGBmhIlKlA1E+8hPscWPQ/TrC\r\niYn3CgfoBM7a8R0u+C/jjut8tt2MkW+0mWxsVR+OpNgtBOTLcKY++72lELSL\r\nRaYT8WN+3pwjOqtX+l8EVOoJCFooDVn7KSc=\r\n=l21+\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"504422ea8cb817614b5fe224b55c07eb020bc8b6","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.504422e_1673481383049_0.3824430646248025","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9c8f9df":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9c8f9df","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9c8f9df","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"692ec7f917dabf2dabbc7c478497452e3b6124ef","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9c8f9df.tgz","fileCount":219,"integrity":"sha512-RQAo2g5oYGSDoGM2l85+H9HKuaZTW65Pc7WLfQBseYC56RdVMmcluZ7gd8ptzZg5OeE8sJK+t/gtJ7QsdA/f2A==","signatures":[{"sig":"MEYCIQDK8TA+t9UHPUjsTvEu1I6JSDR7YqZHeeSCdeMsI0Ej0wIhAOFBaPaCMIIBiRZwmuRSV33ih8oG+Sgcz3nRTJVzVoPR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37245414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv1ClACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9LxAAg8N1rPdQsgwUrm2kkPqB+4dI8zc1h0XRrU5yZuYh9M1w6zWQ\r\nCEUA93tx+jJWZ6gRZBBfeK8/XsCgzmBcaniPJFpMhqN2pF9r4ABHVBZgqOft\r\nd+xlMKO+T2uRnUjSpCaXFzEaJEz/5ou/C09yKhwMeGqlaiX+8y7GhFgIJOUp\r\n4DsvLSaxBk/ZhQSAzIAxeRtNHVi3PfIG1corx0FsE+xy4+d1I+9u1I/i6/it\r\nqWztonP6LgZYzEebyU5gy7vh1fip0brmUq6ev/hjdQxX7k9QQC+MpSA0ylvl\r\nQsgsCl2l5eLzLYaL0HSZAFePoDG5XdOLrKdzxQ8MXC9h4ecZKoDGlmAwGqpH\r\n+/kJCcmoXuT6f8tXaTABOwT8MKDbuLa1XVpRViNPHJQQFo9Ab2dlPqN9/qRJ\r\niny4phJ68nN28QfWlUEW2TDrEygeA/wBbXUyiW/w5fjrVSFAQCnMUD/8d88x\r\n4wmT5ZmagPgw7giCLRDvXuwPR60SDvuS4JDrJcaLfw/jvYGBfTg5TE9TClnV\r\nJc4gIKP9TXPnMfbiox6lqy4L2Z2Uqo2IUfUKQ+xAjLry/iMWZIxx3tAvTSBu\r\nrJ8tcGsp4Gs+Es63r/F87ev7AB8ds4Bu4G9nRx0agaWT21peQkihut2INLks\r\nEGqlXLMI0Qdo8MDeGtHEFox7e30Y3w3Y2Mg=\r\n=Dh9Q\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"9c8f9df542c6c749755886200886058a0ceb3c45","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9c8f9df_1673482404969_0.4189201680942145","host":"s3://npm-registry-packages"}},"0.0.0-experiment.8dad6a1":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.8dad6a1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.8dad6a1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b409438ea9edf2143b47b3858ae2d60b19414e3a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.8dad6a1.tgz","fileCount":204,"integrity":"sha512-zltLzQ5z7CJjETIHJ8m0RmNbymL8S+BpjXKsZHyi1GWBYRZriQQPVX9dwWclquyfMGNSKC1vtIMmLzy3xcelnw==","signatures":[{"sig":"MEQCIGMg6T2JHqJcvjiGFaMgfg1ltQc7yDnYjK0oMgJjRcjLAiAKg8I8YMZ1v51sjnGlDkaq7aqba5JgMEf83NZ4GvlosQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27079632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv2R0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrukw//bv50TK6etPIeLe/7r4mIPcqkg6RV8h7FxQnPLZuVZ26DtTXG\r\naa6f63eW/zKMIL+z3CUIDkuhLp3urZX0LpC78wOLmf7I1NvkpF8q1C8BIQiJ\r\nolz3IKtWpB2aItW+6MKQXddFXUJFNv4h1hLthpsl0xJcFHeAM2KXdd/7EqmQ\r\n1OVY9DskF+npY36wlma/pY123UASZda6IuKLU0ybHbWiZgEQdpT4TxE9nKPP\r\ndchcIXZstMiWCGy6TMAU8EXu2YUhx3LqyOxmnEimDrU0GeyrsTvYKJHUgl42\r\nrXKL5LyFuMQkZN9aKH1HYb+8cESKlQ3Qd1zZZgxyGLYaiyxcAfx3o2vLgy0o\r\ntrAOa7LZwcP11zRupkbSFj9bgLmxaWXIRkEkuObJtmKKifecFzY3Xc7d1O+n\r\neySi93UiJC1N/9DPLZFYSXZEdG4yH+7eqDcDKxKcb0XxSlGcjsrncNtbH1TJ\r\nQEjpmMb2f8qtUlAbjy2yK8CtFKdCTezIIdIrGzUl/+2oJVDVUBqHiQKVTOaJ\r\nhk9YGU6B3+VBVjZRrNpxffVp74hMLPMrJ7xKYInj4hmjn1eY3Hzsac/TojIi\r\n4U2CJGfJlQ8UQ4cYnGVf7vTD8eyGcR/8dBt7tpJiz4P3CKr43j9PI2Hgv9Vb\r\ncVrFRGaQO+2HXkqYuBhekNc+oheO+1jooAg=\r\n=s5y0\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"8dad6a1451b88802589a0fd320a31bc86e6a0200","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.2","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.18.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.8dad6a1_1673487476414_0.787529933847311","host":"s3://npm-registry-packages"}},"0.0.0-experiment.17ec794":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.17ec794","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.17ec794","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3c4c5abb3282c8fa8e4749b23bf32edfbc95b837","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.17ec794.tgz","fileCount":204,"integrity":"sha512-I9w0v69ySbxBVh+elzA1MDKgm5YfASL6yKXVk0Sgv6Q1X3QC3B7LdU3cBDoS0k1XbXYO9ROKVIP+X6OtukNGHw==","signatures":[{"sig":"MEYCIQDl8Iv5zN8d1rh1j5J5Ki+8osmeg5tCtSoJzy7OWW4TGgIhAKa5eHJQJUhpBckwMBL+kUqNMdp4UnyqZKkXEoeK9SJq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27088935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwH9bACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqG5A//dTxkwnPUQznOZPttoENhCEOC1lEIWZIKCZUJsMg5ELfKysa7\r\nu9mrKMICglVK1jIuhhwviSBTHru7KKizwdbCZr46Eg8XN6UVBkYSSGkCnwEv\r\nt1Kb6IVCFegj+sMwtcuGjaJG/iD83xaeBLXdAMExsxOLHxjiceAnQnuuvPu9\r\n3M63w0vMgDOtrZdLaToqYxeRxg9yuGVmtQBHP3PnFbpfThBo2zCaBmz2pCc5\r\nKyl59l4iBQ+OnorMp/Qy6vNyAo2s2LvC1Owha7/FLtPGiDIUw5m8D3NLwlDo\r\nhTEULZhoIc7U03dGVOfgzDqh+jxp/QKOqbEpFdj8vxu0pTRnTfHrF6OgUbt+\r\nX397MTFbp7Qt5DWxnNgpeDJG5+4e/L8J5oCOQXakYRZZZCsjyf5fkuxquUvA\r\ng3xcOC55B5fMtIN5fOmpWQ01A4Y18xaLeI5cqiXtECrBixsMmeU6jNG/5ePc\r\n41Yam/nfPFmZNvMOkhohAlR10eK0yanR6PvMQrIUY0wQoEx1pcT3qrj9fWTy\r\nz8W5Ucetp4VYTSyvZcmM3EZc1sm7VFQ6YH+4NG0GlPt3CtVkBZNtLMiDz1S2\r\nLSGlMg9GbQgq3zpA/MU1q74OOHhomIhWB+O2KHBa11QtuF2FSajqENA8tbe2\r\n4Ila5lzLy5g3I7bvbr99CEOjcm8UwcD59ik=\r\n=Ojju\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js"},"gitHead":"17ec794a857cc64705351d9334cd919921b35f9b","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.17ec794_1673559899380_0.44206372761299906","host":"s3://npm-registry-packages"}},"0.0.0-experiment.ff07956":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.ff07956","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.ff07956","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"028b3ed81eb5e8c7e7892c8bbbcf7ac6b03c0f78","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.ff07956.tgz","fileCount":219,"integrity":"sha512-wyFKdeypQMe83t1sbPQl/o4CNFJs2nhp51eC13ObyTksKngOwl/cAbrVRip1qKeh42ekX8vXHUM157TWWbd2Aw==","signatures":[{"sig":"MEUCIAz8HuAJsQFdwUW6B7queZdjD2ruK1lOjIBLFt/3lttSAiEA9JmKOTKEms8vBfowQc3jMU5yrvyYZRFQZOw5GLPHX9Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37257018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwIJ3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopIg/+PxMg0dJbPHrbj5ESm8/IrcKmPTG2JCsu00DlwyXSSrUgUKtB\r\nlryRPq0AZuZuxbTCtn7o8DIfMLQjxtUChlUlvjYZ+GMAly1DXjYtasLFMrSK\r\nMuv2u1MG6b2Kbdnr/+M315x5qiRjTu+udQ9LKyctHw9TpmduBFLWgLig34Fi\r\nlEIfyKCdcXHciTX8wqhUoOr2gwLGIjPkEP1BwUnlhd4EvZmgj9d5+rxe1iyY\r\nLNEEvXyZfm8Fz2UTaTx2WEsSA96sFkB9sz+u8CwT2sBNq3TdgqHwQVIAM7pu\r\ncHpU0/vtPVrKDk/Inhgk15EZ/960wV7gWyg8hFH8BaMj32Adye5Z8t4CQGqZ\r\nhgXkL3JrMLC3yB+ixUs+qsVAvMxmIkaGwIxA+qu/FPUsiSd6ZwY/Ra1ebty1\r\n5xNRmoI/GJJbnqnteZSAO2XYg5OCOdL+HT3Thxg2F5WjsJJLPr1NyBfzeIJF\r\n+X+pWL0BXHst005c9rJcrzJRsqsHCYEkZ9hBU6YI+xsNWPaf7wHmJbZXkgrG\r\nyhlSl+yD9eZYR9oS0hiR2YGRfOY9hECzf7liSRhYJUPccJXf+jI4nDg8c/EV\r\nRVCYluGqfFihs211PdihwCifVHbO0f3RyGJs9kt+z/TOxRDnt+W6R3/gRPxd\r\nWkdpnvtAvaTRz7mdgGjYnKLQHO9OnspU7/Q=\r\n=+a0J\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ff07956c4bb015a2c71439649fab409ef684d67f","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.ff07956_1673560694922_0.6101164676586692","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6d7cd5d":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6d7cd5d","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6d7cd5d","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4e3f4d335d39d1a074157edea47dd46a5c739cb6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6d7cd5d.tgz","fileCount":219,"integrity":"sha512-oCwqHv/Ha85CdtW7crphg2GWPa0b4u+A6WiYKq/i+fCRXq3uHuCW0uXfWWMGF4tb7ps94hwfzyb5Zl435EncCw==","signatures":[{"sig":"MEUCICRFfkGSU9+uWBhBflU4Ni1cNsazDGIdT6T70rB+3HFoAiEAiCs4QwmMkQnxulrVTpdd9znM96jzzg5A6yrs1Y5+k8Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37264232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxKCOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmyA/8DfDPZbV+jd9HjH08NOiFSqX+0dt26/TWNsURiEVPWDOVQSTS\r\nOKTuhdBdsatp/m03Qqxu9hEUAs8SyK3A+F+fjy7wNkGV/iMHJtOAGoAxH9As\r\n5hynj80toGpkADfv8h0x83yJmyu19PDu9Z83DbudtWOEo+rlmpq+5mev7p5q\r\ndgomeIuG2RLAFdKff6pC59RCz9y3gKz8pNpTWxbKDjnnBCvKpaDx2rMGMMRX\r\nI9TcNvwPYSDAQv+J9N7Oyos9c9iOjHL4ASVqcEa7b7ZVBwdoDFucblhkC63W\r\nCR/9wDRNQaZ17DdCzZKtpalrJzepRBWwmA/IYeTW8QQ25mcJ/6bD9HPfORjq\r\nw2TzyVEkxk8JXk2mokTVblQa9ZdBNc0wRGwSluWf1iXbYiw4LynC27PdHxTA\r\npmWlI81Lpn1zNRwvj25d6kGtHG2QiDa+eZcZC+AewZ9U1a3tFDcRn0bhKy38\r\n++X4zOzLz6T6eXky3UUlLhk5suLuip7b57wzYEi2Kgm80hp1T0r3tfd01ClW\r\nl0U9hKD0YD86IULdZOHG0S4P+NYK/akJxfRgdSzt9iqTnf7+vIvSXkf0xVHS\r\n78ZG90Vs/RWJdCWjgP+JDL07hVyURCRZiIfICvMYSWmp+CDE82ZSzzUw2pnD\r\nr9ReLjoqqFUGh8sPn4CSUbN7X2RQ9SXZvDw=\r\n=SvOP\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"6d7cd5dde6d737c4ca871c3be27e54c592aa3ec7","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6d7cd5d_1673830542079_0.48626866751824704","host":"s3://npm-registry-packages"}},"0.0.0-experiment.1409efc":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.1409efc","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.1409efc","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e0e57b29a52ca4c3d8d87ffd5e3b0cec8c072df0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.1409efc.tgz","fileCount":224,"integrity":"sha512-0NtX2ezg69ZJd4znuHD0fyrE1w5QXeRjlrXbGo/VJl3Y6ptCdXKm4SCMEDexgoXRD7IeBEboXXBYjpDiz9AiZA==","signatures":[{"sig":"MEUCIDv7z3jiFF4AlLSAZfjhGSPg0FDIMYqKIvoCFjOvFZ2mAiEAgKk/mmD+l/ijnxAAFivoDLU1Kkb4H8oSkA2HL8zR/o4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27139675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxO3nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqd/BAAjPSmBCvn9+O7CAkemyiPcTiGFy4zF5d5OJKOgd/x1dmwkXcQ\r\nQ9vemXNsOQjhQwYkLhzQ4H0N+b5GTZmH1KU0NKJdI5T6eqpuoZzMLJa7EuIs\r\nI7R4uoolyyYRRP1b81CEorPWEEoFe8Yd4xWrR2hnBBCCNDuAzZfSbc9T/V2s\r\nQLwIOTFSr1hpRud3tT9F31Ms5NBFHxp0MPFX22f2uDlFkDkHuqnSToN3qc+0\r\nBKe0heIevEXtuJS7Xwh1rQmc49kBr2sLiysjkn+F4fZOltoMlmyLclw+95TL\r\nFwltgORx7l4KveVWRz4P48VLc9aKqzjvc4Z0/Yr73dX231NUlv3DjqCrOKpm\r\nB+WMOywzFTQlcrFAGRTvGm5E//aKr/EBK+fOkY+d7JRcTAHcIgMdhxmqMFXc\r\nUEBTMDk5ojegcke9XOy2VKnT/r7ItkvNgeR5CTt33Dv4U6eZ1RXnQj85IvdW\r\n3HNDdMCHjM758rmGf4l4ZCPtAzwmXKl4v+zXybKuumMow3g4wNbO5X0ynLAO\r\nUzx3NSKXZXeByQ7U2X2liTCCCfQyQIn3nB5yiePXbcny2nyzzW2UuF7/JIL1\r\nYM+95kG87BAol9O4RgtAXlCh6e6jpX+nt3Tj9jBGiNUPkfRHyD2fHMjq28x+\r\ngEZp40NfX5wdwEcSGK0sw6xgUOwhQua7Vq4=\r\n=IXsp\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"1409efccd8eba0df76dc7066cb154039b0a017b4","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.1409efc_1673850343225_0.24128896859015603","host":"s3://npm-registry-packages"}},"0.0.0-experiment.57ce70d":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.57ce70d","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.57ce70d","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6cc26160d82c43cbb2e623d776d4a4ac60c8f42d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.57ce70d.tgz","fileCount":219,"integrity":"sha512-jARf/m4rPohg0rGN1+KKDhPiHNtdii2fCtYkwsSv1FwV9TfGqpSL5X++DFcYTs4HwejUDzkC55i9AiEZCz2cMw==","signatures":[{"sig":"MEYCIQDSBjiVgl3UFSXRuRTAnq6POXTQQQsDCxgQWhp5CGHvCAIhANWLnRgwCzRdS31goxznOiv4dktL9xsejpdk4/U1LsEm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37287337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxPCGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7Uw/+LZgzG0uGnt/IaAEd3WWdjX0uj52oUboxlTEOf1WMqgMzjx1+\r\nhU11QA7uf8R6gee24pImPNH5mA/QW2O6btG333L4DgPCqu4KkTnZT8vU0paR\r\njA87JJSWap9L92WFzTzxYTZMl1Y3KIrwS/LHuhbdCeNpZIjcv1jYX79wCO1V\r\nWB5nQEG20pNkIMQXPP2pLDEP5YiDFdA87nhz1Npj32A1jMEr0nUlOrLD/fp+\r\nXQOmkiTjnBq5gALL2H5Kfo3zJCLytdDN3XonQ3DjBsOOmeN6gIkBPgo6qE5v\r\ncYr0DkgS2lxKEUoTjSTkQoiKOwTvNzX7MmZWztXeU9BS6lV2G/8ezJTB8doA\r\nf6jr/7eKMuFCgfNv+Kv82D7xCpkS3idhrMW5GCOHylg//wCLzgyiiUC+lFOb\r\npiljsHShEbcNlDmOq1XFej3XeE1CZ70kI2Z8gUrc6T4Y96Lojg/yn6D+IenD\r\nF4Ixb26MKAABUCY9tL7/NMHacm7bsyQ8eZglZuLSHGIyojKR8N2uyIhPxsAf\r\nh1jQkUrna6Xwz7Ulr/lAZQT16qdBL8obj0IFj7v6v+hTc8qwsGd4XfM4dHDz\r\nD7lI6Mp3Q/5WRBSZw2t0qilusJA93uJ/JN/Mzyt4Vqg+jLhVMveX2VZsnrez\r\njCiBdAKHL2YEWg5kvb6NizQdZqLRnp1vlzw=\r\n=E5Qo\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"57ce70d33d1236844ab2e3e6e2977e39e26d04d4","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.57ce70d_1673851013923_0.2783170502029133","host":"s3://npm-registry-packages"}},"0.0.0-experiment.61f9f6c":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.61f9f6c","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.61f9f6c","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d26a1e3ff668390d58b625c6a1b8eb50c7bc9a3c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.61f9f6c.tgz","fileCount":219,"integrity":"sha512-g+Ys6OihhuF4lwGQh9yKGnq+l8S1sEGqX/LkGdTWAgFp2ebmalSqSBnobvbKAm08hHJ+i/K1E3CPeRPQu8WYXg==","signatures":[{"sig":"MEUCIDGtC6z+fAuWiCVJicWLArz8QWdszJDJ92XiR4YhAIalAiEAvBIa871CpSrkF1wo5LDXHxs268+LmH8Ds1kyD3eNxM8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37272925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxPpoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDFw//YhAXQ27dgxrOoZgDdebJuYrR09baN55K3KlwfwS7Hoi0SV5/\r\nh+OnJVswKtvr2PqmvCyKsKGOmIM3PZNIfYi/ciGKiq5cZlfhRsMEiJJoFBPc\r\nm0oPkRMW9OmyHJyWtNSqDpstLOCA7GrhEiK1bwnKZW+w1XPqo//p7wrMLNsu\r\n57LRsdEKunggfbSFd39d6yAzYhegvOReq2XmW6lvqv9/h0YnEVIz3HM2zzVC\r\nI5V/bkRaxNjdgFQwB2tXrJQZMjOffkCTPXGRkBAjjteJPhDosHlS4VYwaZSx\r\nf7dkYxftFk3m7l4QIuiNDAZmqxTc4dkyBKzLHzdiWqBDQPwFxBVBmzpAr7An\r\nBxtYzfiDFMgb8nllW0X4YiCqAh6HCIj1IaUHEO4uzsqn6K19ETLe2bMoRd4b\r\niOLxjmUJqzFVnJKwesTJ3Ui15G6sWyvj6674DIt8rZHyd8bSNWL5p/HNnxLU\r\nFl8XlleZV7nV4O+heGYmHTmtHtrCKnuJsbRttdWJKXUX29F6ST8lufd5639w\r\nf1f4Ouf/sxyPNPRNd+TkM3rPcV2k+UPO/YpFwdDEzddsScN3BvM5tASyORGA\r\n2XMwnK4rauAZAMi14zc02hDSNRgaEzpWuWIEEU959RsjGE6d+BMkGTh2Vj9f\r\nsKaoU35XrHNtj3nbWTvhSp3ybrRvK9RI/z4=\r\n=NN7o\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"61f9f6c164ae50d52062c0561a057e0ca1255789","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^27.0.6","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^26.0.24","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^1.8.1","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.61f9f6c_1673853543894_0.958151087513269","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9ead1f5":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9ead1f5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9ead1f5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"aa111a4bd342263842572de789856835bd4538cb","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9ead1f5.tgz","fileCount":224,"integrity":"sha512-oRb0kBkFmcTeiNvwACXkcCklCFYAYRENRz4GikKq8WlYjSMsnDiWpmRY20d3HIW2CKXoEKkF/XZvOIcRiLMpDQ==","signatures":[{"sig":"MEUCIQDQoYF03SKBkul5OmqyXvYlaYjO2YFhLpyQdBZ19gS1ngIgGjOmjpIM05ef4NAygBAPbsLWwIwuGdmUxHufoQRJAB4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27139675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxeSLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqViw/5AUcx9oYpWTLm8OjU84S+X3pH8p0H7kfoQyDdlll8PsQlriO9\r\nG6Hu0zImDc637v7sv+lRSyAHuZ+II5mZeG12aR9EwnTyUcEgZFDeShY8PiP9\r\nyFwrjeUMI5+V3VfsPY/hvLsxsLwIZJyzzPOH8XmKDgUjCwkQPme6NXd0dbGk\r\nW3j5Ro6Oh6m7eSw6DYeW743sDHdcJt6agS8mzrMJcl7W3/BKaZc4ppXK2KDb\r\nmOCBm7sHg9uYILyKpXtrAapiMBQTHfakfe1mL1qH1UmGPbN+QFlVuT1HV8le\r\nroZR2HBGnrb8nBeeTh0O3EaRLVJmCZVLMI7is7gSkSNaYzF6OPh+vI07V6SK\r\n4DO3zcYx7hbzd4cIWmiwbArpJvBoTXVNO97xfQOxUZy+eCQSsiLDKPO7BF0y\r\npJwVdYzYro2Fi29QuCDEhdcSvCDGpeAwAdINp7wniLpchQJE9lXK3vy5Vbay\r\nOdV7dw91SgK5GdKI1VXgv0Z/w8eSGqpJOZMycTCqN7md44nRqPc3jIxPM2zo\r\nRyBcqe017JPgssNhtgzJdqQwSUMNs9welxRfAEvrBXts1+X3OEpAvKi+URk+\r\nWhSe5ItWReY/DdkruffpGdK3duA+AU80C8StjUwLYCdregT9P+fA/5R9W05/\r\nnPBie8Ip7cAA8A9Ow/z3A1hjtkEfsrezIWI=\r\n=PV14\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"9ead1f5f6deecbdb3420142d82752b24778a8b66","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9ead1f5_1673913483280_0.6027731013815298","host":"s3://npm-registry-packages"}},"0.0.0-experiment.b138c74":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.b138c74","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.b138c74","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6bba6a5ebc1c5a559a6e88d5817e9b7c30ede107","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.b138c74.tgz","fileCount":244,"integrity":"sha512-kUSGoJHsUqJGpgRlfb8veF197BUBEBbY//91ds/ErgbngO23mKQZ/L9eHNbHiidW8KmWF8gw7Lz6XJTcpVo4ag==","signatures":[{"sig":"MEYCIQDa/nfbSQ8U3TenwPCOqQfRiyPprDlvq/VoaIoLQSpxBgIhANeJPMsHWfT/UvZ/O8Z96pX2oWziLfuK3pRh1RkeP3Mf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37456262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxf/IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7WQ/5AOux6ZilmcouiDDXvHjWF2k7CNgIVZQQyiCAGDmouxvoxom/\r\nNy+SB+paQGTBjslIRYrI5ofmzfh4OXyLEqn0oMboHaWr3nOiTZditxhFA2GT\r\nCBfTX6xgg8zfMGB5V7I0H43akggcc+x1sah78NelX/d+80kbqX1DBasxBi1T\r\nbPU+zImgDmY7aCUcyUAr5xGf4Lf9uOmplKnHkFknxhuHWlvwj21JCgPyWciP\r\n8NnM2u4vTDo3zwfaEXmIp+TVX81/BNh2Geq9mhCXmv0nUkIBRgWV2Gxyu7EE\r\nePPZFuf36W/i034hcBu2Nq4j7pXfTVwyExBEkDhKMg2FwRuTezaX92BwseBD\r\n+eNP8PvwFkg8HdhFHOjBpFHi7bPp15wEleScn7NO6ZS5S2Fy3SSr/iPYafHK\r\nLV1wL6cUeLOI37KvcOCoVIOuBoGN0xG+ia+ERkz8Fh+7DgrLsA5gKV4qztpB\r\nBFa+q8n1uz7cXGhKD4vfNBWecPcjjIPMDoUjb8gmlGdmUJESFVOAy/FaOqqa\r\ngUOImvmL2vAeESQlUkRcNtpuHb2qgAR///1YO5KP+uYdMG0NCKVuLH4Apwk1\r\nNh8Wr7nIz50+bO1qUokzd2GCnh9xjmrCQkaW3NafnFoO4/jZduSnqtpPAvpR\r\nBL6+aogXpTSW4SKtn3G+E/p7ydcfnvduHmI=\r\n=eZtZ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"b138c7409cf10820bf1ebb4f7b61fb1a68362572","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.b138c74_1673920455734_0.5868325816355111","host":"s3://npm-registry-packages"}},"0.0.0-experiment.22783ce":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.22783ce","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.22783ce","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"271d6226d1f0690a5a16ffa3bf32b4ba473828d1","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.22783ce.tgz","fileCount":224,"integrity":"sha512-vet8cSiuQdSCSrG8ai9tRJygHbc3AAAobsMAgTiZ5/nFtWYUTKBb3OLMO44UxYNRX/zrkAi0wPxg2ZP3WlM4Kg==","signatures":[{"sig":"MEUCIQD+Zv4/PuAcP9ssd22flljc1vX9dPo+xg80r/P5ErVWUAIgGMfqB0Z9VXIkgIPO/9/WmWI6p5gy34UZ04st9yutUeM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27141807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxgBwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlEA//WZBlS165sOvlra3WfV+OwayvaW8BW1Zgl+wvmV3NDEy386Mo\r\n7CMuJTYTix9Fe3Tg5wF0xJkv/aU1StFRhOiDWGxqB13Uu4MWkY8OhMDDSsHo\r\nFVniQMm/k+a2ICVj9+MdtXWFZyz8xQruSuhOlZvl5hQXBWXu42CVivxXnbHP\r\n/u6TxyRMhR1tlO536tz7VaC112jy5JqF8tqwjKCHRZGmIIIw54drSCPDwlFz\r\n0nCx+KBUGbAmeHMkhvbtgwJKgDKpH5LrlcvbJrvlQt0RjDYBHR9/Pu91Xw/t\r\nOuvFUW4GiOAHr2ZmaB1hMKiv083dYmC/NMuauReOAl7MyPbksUbqX9VaisGn\r\nmAJs2VXMZCXsS/AvNphtJSEGIQQmjw9yjp8rvGOepRG0CzNuUD1uhEGfv8/M\r\nXZ7EnPZo569g3WB2/GppdtAW4ZkNBqaf2EQd1tfzDCdxb1T6DlO0GkrViWVR\r\n+xJgDCNpQu1FL+DDBiUGbpV8MVhwTKuOjsx/Zyl2vIgPAMeV/ujTIQn3jkCg\r\n+pyJyOnaOKuBqbDlvYaq4ZDB8qSewnkOrfEfKyULJUdhJK+KWHEB3hSn8AKy\r\n2hYw1Mgvf2Y1f/2KghYhPRDj20OX4X7cJ1AdQaoY7aA5eJheOgoYHcyB3nqY\r\nNHNwGc3HrYSsiaDiLd4EEyZXzZJfoWZ6WHI=\r\n=xEU0\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"22783cedddbac7a40af901445c3b8436e870baee","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.22783ce_1673920623880_0.7494872303656133","host":"s3://npm-registry-packages"}},"0.0.0-experiment.078a024":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.078a024","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.078a024","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"46dab00fb062f84650739ed613371add17ab3d44","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.078a024.tgz","fileCount":244,"integrity":"sha512-34s8ujRoVudcX71f05CwNWjLTupsy1K7a+wb/39il4Gmh5FQtv41teHfoOmIcUUV37g8/L2x9HsVP3yShe7LIQ==","signatures":[{"sig":"MEUCIQCkc8FhxL9RtnmNh6Dl/7uqZNpr3rkvSKY+Qm7aNJB3TQIgDNu1z4MwmT2pm1ppvuWt9vIYm8ckCRNYSokQuWaCU6k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37455080,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxgCDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+Kg//YxaWMkNANOs/Dpat+aqFYlPnuejNmtw18IaFqal6PcxUUilu\r\nCkNyi0S7/fYClFZ9eFK+xxA7sld6nltDvASNcq++caxp+Wnv2K4dQfoiD2BV\r\nRAIc6Z71tQxdiPJ/cI8RcDffNcryLGEEEIQnFZPCwxaSthWt2Rho0ozneOUt\r\nrVI9ZMQYjEMROt76mKaD0dSzv9J9xU8ICgvTRy/Du29SntHJViYckdHe5tYX\r\nzc+NZYn5d3pkulwuVqzqVrCSYo4X3JmGhgK45j6XyFilgYBx3sda+AlXJsjk\r\n5t3tt4Vbxqz+DxrEiAeYPhUoexTg4PvaH4TZy3xSpqvmgwWtmHuJRS4Zfx0Y\r\n9ttgFkSFVscNuwFXOqsuVeJDTa6N5R43C9u+tA/nN0lKdC6npEaoGi1RZTQp\r\nb3NcB3aDie/JSMJKyZvOGmRJiUA5SMyoLlNRDMwRy73Immp7nJCHcRafXXUX\r\nRJsUDyiD5YsS9bhiHBVbxJmv5Q6Zn3kR5Jn9Vu0P81mPOjJGxqiN2Nym8xUg\r\nciYYQXX8UEF2AeQCmW51fHdbPMNjOSxXdXjdsiPpy99t1aqlbgL65/xObSuk\r\n1Lz8Ljn+0o8DlfuQ6GT2Xb6PQQ3rdrKLkX8Xqb1nsBLBgSoZZaFjXsv3x49+\r\noOpKMQKIycVmSD6/X2He1lI9q6AYfPD9zq4=\r\n=EKa4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"078a024a64227f84fce477f054b61098e485dce3","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.078a024_1673920643632_0.4918931479635529","host":"s3://npm-registry-packages"}},"0.0.0-experiment.69d5c45":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.69d5c45","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.69d5c45","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4a41137c2cd1773d7a727e8a22b51a88d14e4c80","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.69d5c45.tgz","fileCount":224,"integrity":"sha512-/43mltjsGXENY9q5Bqseseja3OmaZP4zUzaIrem5x09CmAA099UGSz8F+3h9FPaDh9nzFDag9L3Qf/UHXmWC5A==","signatures":[{"sig":"MEQCIE2LJ3BR8E5AnYxi2RY6CNINcLTURmhWu6736h5BzUKmAiAamxtqBZM7rXcMzQo5F0V2NOFGyGFGfEtufX5+L6BDjQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27149461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxpKVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrg9g//dg6AOgZO1b6z+BmuD7NQl/Am8ZOQ4sFZ2OdF2WKS09tvfyBK\r\nh5aszBF3jyymcYVIDhFOdoOofp7bAlr6L/GDrbl1Ne+LgyhqNHcJFRSv2Hmw\r\neusIfQEbBafRES4/BbY9WUTLlMDPTexmO4koBN+FYKyleY+9qcZAyYMEV96O\r\nXIDpkwSBpsC2NP8poB5IWquFHUHDZzcbNHt107Gc6ben1n7b7jbxG/eC7ocK\r\nOSslNdvtbH330itj5+5N3qtrX5CxJlV5HPx5Id4SyZa65forQTZUKaDxPOK9\r\nJzXAYIoRxywrTMC/VxgHq+qujdy0suNgyiM1yxhBwOj7a+f5tWkLGpgpO5O4\r\nMJBzxFh/O/d++az2rQMvDHLdIOO+9KFs4t67flgwYYA5jCU1v/FBTYZn1XBQ\r\n4vd4l/kLdVXDBQUBdKJ5IoG4hFIq2DTt9LE5NJNOoG5Q1Byo34Jant0MNjmM\r\nLptZqL8Fl/TO5bfAV7upHoF9Nrqd8m3qg14zzjSkymITK7dop+CoFov1t6Jk\r\n2+7LnevQrD/7lRw8k31UFClCosuMCy7pTJKYFpE4ZiiqMcclCJfnLtzxfuYW\r\nQuZzyFC7ulxV7v0E8VzgNbcdORVA3L1m3JG0mhLB3gomWWNRvmDw2SBylhG+\r\nV5cHnK7GX18I/FRvReHeM8lF1EgNCPZ0U+8=\r\n=ycQm\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"69d5c45d57b242fc95e24df1a5c8849afb9a4230","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.69d5c45_1673958037588_0.07419775215190771","host":"s3://npm-registry-packages"}},"0.0.0-experiment.4352e85":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.4352e85","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.4352e85","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1bc314b710a032c4203e617dc07bc42a8d6c4884","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.4352e85.tgz","fileCount":224,"integrity":"sha512-dTxDyhERqZqLUZ4PZ1FrX9B8cWDpzhaoj6msoekp+XvsFdyNShsLHhLl1P9Je8A6O/+vAtRRVZZoi21ARfb+uA==","signatures":[{"sig":"MEUCIQD+4R/dVd9RLcgFgglT29ieLMnsXMZ2U+NtvDAzlPlWXAIgW6txmxA0Zb3jZidlr+pcx3cqLm/luy69R9g4fBMnz9g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27150762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxqEHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVLA/9FsLl6ptFORFfBB6XAPL7Al5hh76KHpXBLg2Qgxk6cdSRqECG\r\nNJJYEmXe7RFppmGQO1aMpKmRMLGMUfwSSka5u5cp+nCc0s0XPnnnTghKa7Cs\r\n/f4GJEd9XV4Bfcw0rbZPnvXFbF9BJjGIzgeCIksuJNH/mD6XLa9TZ7Ns0q9b\r\nTQQkDj6KnzK5PY02ZpUv6l1o2NIMT2t9FFC/fv/2nGoo/dDLKErPVKxtJhCm\r\n8XnBH9mwO7qPJStowGynP6cnzls393X0+hIqSDpRPFzlCrztS9H5JtO4Xkha\r\nbLr8xI+27H0YiT4rAYnPd0Q8Qo6umq1sLNC3O0I1QbUvV/7WW8XOrhP6B5Zt\r\niOTbtKWOEa9YHFlJWL2X2mJZ5kApX4e+O+M/+kAWJoQ4bToVcZ/FFXjVUTfe\r\n58qJQ1tpUFLt2Wn7uvbA/6/kfj88bRYRZhPx69Mlxym3z4lLV2vA9TuOaLoF\r\nwUcn75eVQiZAxoOGYd9F99gmN8/9oKE1QeLFfvC62TUdxyB7ukFygpcrsoSk\r\n+CCk7sfp7BAu637wNKCJ/OYMjzT4LwU1sx2zMY08maP5GP+LUXaNSEAnsqtH\r\nFaeoSifulBF54ifLrn9gOdgXrtVbb+qNMtMFFAtPH7MZb5tcLk9PSxAbouKQ\r\nGrD/yZ0XL0iNLGWfQ4fSjgFZTjD7AF5VI8c=\r\n=ahoA\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"4352e85cd5199700a58c7a8d6b8f6ca6cac9868f","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.4352e85_1673961734725_0.3735569877164955","host":"s3://npm-registry-packages"}},"0.0.0-experiment.56acc4e":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.56acc4e","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.56acc4e","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"335c28b20dbef561841a5a6d5c44a1fbf71ddb36","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.56acc4e.tgz","fileCount":224,"integrity":"sha512-1NSU7BRUGe5nNUtBczTF2mn+MuDdu3CBkXPoBWlriKh2WfGBhB8Ty24vFBNwMDDwrFgL42OGHmK/BoJFR8jVAg==","signatures":[{"sig":"MEYCIQCkf9HCTwnI0KyiPxwJL8fgyth09nkwS0bFcUYadZDmVQIhALXjhccghRQ98Nf2RzjekVByB3yw+a/4xhD5mWnTS+zd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27150794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxqLqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUeg//TpQCqIqx8iMCTNNpZhzyjSjhHIgfQe6P8gRU3NG3j2OUzvRI\r\njSH8vKyMpfTZmAA85TEN7YrUVXax3qQs1HwXbruSvMe6ITRww8LyXXupQjjA\r\nYXTSC4QAHCY+k9nYvNxp9A7T3yMn/B1W4nZC/1+SAkuzjIxseseTq7VOmq9f\r\n4SL4PznSaTnUSOZFZL4q8Wi+YJyEf/tCWBGtDoUSwfihILVFkxWVcmRgE0zj\r\nWm76lIRnQbqMyzSkBpK7jotQgDMr5dskdAdH/dwE+DmSJK/lgRmOXkvaGUsw\r\n7XqqUl+ICEbYAtqS6dsdg6HlE3jE8TxDa4EC5LDbFwAN9HrkrptXTU3iE0wo\r\nLbXc152xFzKPhiTF/OScTMtrLsejRnZMSX091uHfaN7/lb0mFSCnF2gwIlCj\r\n7dWwueDz4oz5UvoM9ZsjUQpzD5+xO4MlrkfLo1FRU/xnahdbSdvVvjoz3jPa\r\ntJJmbB5oSsawZyr4dV0hZNVMpoRDvG47B8+fhkUuIOSjE2CqLDAT8QN2A8X4\r\nEJM4hh5nJi0J2lVEWCL5e4TQ8f2dhU0Cl5aHHcCSqo0ycHv0+hgNuIii2+wx\r\nvx6onfuXWamECYv9zc7rOGTqD+h0r/D009g5VUBp2R/Ogg9plYTRlr6M4hOT\r\nHkXJ8wu9sUKNoJCK6ENSCHmqV+uugxwvDh0=\r\n=WRFd\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"56acc4e4cc47d1c551e74dacf509d2957549de7d","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.56acc4e_1673962218464_0.8695652952650605","host":"s3://npm-registry-packages"}},"0.0.0-experiment.5d09ab3":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.5d09ab3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.5d09ab3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"838ef862ca8b2ed10088ed770dd7009752f9bac6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.5d09ab3.tgz","fileCount":224,"integrity":"sha512-VE+xJf5K/nI/Fm/xBQwOLhGoFGu9xVIQBT/qZ5O4J7uewt51loGKare3QQIY1L0iNMuu9BRMK8BU3wnce2x3yg==","signatures":[{"sig":"MEUCIQCvehnL7AelpfPoFRdzDDjl4XA+ocLUNgecdnULkDC7OAIgDioyePGLloaoO87X4gGJ0voWccnCwLGehANCTLcPgkE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27152819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxqc2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXNg/8CbgCWL1KDo4c+7kMYJjM6Ctima6gvonFJ2yOf7KS6u8SDbkr\r\nWBu771da70YtRGhcWLILrMt5/f2g2vbuWsPQlldshxbYlLyx91iN1CfLD2LS\r\n/8Wctz5Lb1yGCK5qc2P4uEgCdBgfO/duLOZbqI5/Aunq5nPlSichTWOE+Fbm\r\n/a5e9NwD8g5kXt4nEDUm7ZT3UMxwhlMgiF7d77nzn0wyN48nNH+6U2mg3CyG\r\nTpte0m+MWD1Yri9yjmrA7VRZYEtOL+2Zm+0lDipctB/T+gRhTYfdaIOS6BML\r\nuiurnk4x8hcNp/kfrJDaDOU+KyPkkGUoTvYajrhM2Jdb/5wYE0SEdVpOVJ0k\r\naph/vtfdXWOdG5sUPXtqEvIb8eD1wfla6yuzpwuGXFpdkx4m1deSfYo+0keU\r\n5CLlHKzKzxxmGh8nFlaCFWbQCZvV6JooXGJvbVLLevuqg5ZgvwLLJ0lGrTKV\r\nOU0zPLEGVsJEiydvyjJ7g5MCUh40tuJelyPdZojRhqP0YDEPGc5D/TICFW8O\r\nUeSqlbFOtiNal7bFListHuNw/DbZ20PlmHYwTcvpX8LFkdchJ1TY8yYSXH1h\r\nD/ZEmLtI+Ywqp6+o4Bju+7NYaAf1hM9T9uvRRDUn7/x0wlwu98obwKWCkXLQ\r\nN4QXr9ClPhrvqVCwj5j1LPj4vtemEM3LuGA=\r\n=TtRf\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"5d09ab31f034cd01fe8d817b271db7fc0121a1d2","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.5d09ab3_1673963318153_0.6888574751830152","host":"s3://npm-registry-packages"}},"0.0.0-experiment.7ec60a3":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.7ec60a3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.7ec60a3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e1fa34519f23dc183c140fd5d295c388b96fb00c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.7ec60a3.tgz","fileCount":224,"integrity":"sha512-9gXkvvSz3WZ5wcUnfke3q8a7cKUwwsXJFYfvTwnptyj4Db46ZyyD/2PU1dah7f3830naRmqtnuISZml6abXU/w==","signatures":[{"sig":"MEQCIFkQ59EQ+3w/GSlKW2OcMvkoYUj3By3mOXZHe22QyzhDAiBl7LVMPAzLh0y575004KPTawAsmtGC1nEQi5vZkEmHjQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27157652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxq0sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmopyw//bP7I0/dYX78T6iPv4wtFTsYXjYDT+4I220RVZsvtxnOYbAU5\r\nzYGFXz0XE4kaz/HR3Jv2YIv3vugCsB98GVful2mTxUEsglMppSTPD3TRVUwx\r\nFuNinaDvg/JsctLLqV837a/SMP5fh/Wdl2FulwS9Lm2LpEnx8xJCLiZXi0z2\r\nVP833K0yEF5WrPOLHnSn3c36VjmoyEUD13xxemRZap5+xYbLwvnJMWMZeg87\r\nXd2M4fxPg/UkazW4EFoM6oX5bSuuSFAbFqEgzlIISI2btmFMbGCF8mdt98sG\r\nHESZ294KXpICM+7OkLypmTFdj0hkWRw3oqG7DsxpwnEnCuGUkCo2xxjrkSeY\r\nc021OfpOCXldZoGvhLNC+9K9GfKAO5DzZjMIPI6uiiQBh7Dihmlxm2BchYYv\r\n2GGMhY3EH3RNfJF19dfiC4sQoJUBl4KCSXqp9j0aGapY7IQvAccvk5r+LTCM\r\nNiiq269+B8rIchHL+5r5Q5z7l8GX+BI+nQYAuT8kvqQSFf/a91a8KNWqsKfM\r\n1Dp7+dy2B9Kf2vehJvTR1rNGoiKOdcIJ8KX21kFCyv/6FWLOuBA2kDpzmo1o\r\nHmuuGbBveqLSOAjBRtuBfB7A+unsfRqH+1UqbKi8OXm44ex2+GfsCruYgweI\r\nA9RYLAlTFGLI7JD6x4DhWzyqrWUmTLjEj7Q=\r\n=Jk5Z\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"7ec60a39a1f35674a1a2b840e4336c912f4eed63","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.7ec60a3_1673964843879_0.9520146205500579","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d05925b":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d05925b","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d05925b","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"19a1ea2d81a970a28cda05b67a7ffdd07c1225be","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d05925b.tgz","fileCount":224,"integrity":"sha512-D8IQpjzQaEOrFgpbPCd/kJUJgwclAhIUvq4W4lDtfRaQmb/rvxUfJ54+2PYEtOPtTFTsg923jX4SaIrmzY875Q==","signatures":[{"sig":"MEUCIQCp0osqUAJSzbr37dwlCfPnFS5YWcs6rgvRcSDPbAPMFwIgAgMnJrSUd2k+YIV1wnOVUS2U9FAu4nBRywErUVeHai4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27202555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx1WmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpxTRAAo6P/jnin9sv2LF5bWkxIJltamjdH61nrC1yC93PQGqUOsVX7\r\nFMwYWizHyhf9vpom7+AHJPCvgsiX3HGsjoYI1NVwJL+4ojUwkrgW/34DsMOH\r\nPswBjT3vb46XPHmG/FkOMaMoSKdStiInKjtBr4PoANCU87eYOs7QJX7vk2tQ\r\nq6RaZ+Gn5ny9suOStRcE0VAiCO+/9wr/QtEXV5RNDkyPuVux/x38IP/KvOtP\r\ngxDMXI4BpeQj9uzTtgVCvOXD4oUb3qlyenIetxG6/3pbxQ9DuqUE+OLaCiOC\r\nQYjHsaRdnDJ6wcI4ROzpZWpv0IHwjdS8RuMX+WAxDCmvRxJE7AMHYmXh2iN9\r\n7t7vDy24/TcsvidQe2PeCTli8EAfAz8Kc9fT10xd2lCkkFELO6DN5KeTz322\r\ngvEV/ss45qV4MRahlGD4xrSWPfXqIye+ZpEPODt32ylBBl5laibYSYmS7ydX\r\neWVwKFsZ0SVt56NnnoN8Mlk/UpbgaIuQoC8oQidLupui0zpgWx9f+71kfZbq\r\n0rvxhw+UYF820OoFzZ8UHDKSqd383ajgd6Wi41UhMlgoxxsOe29THAlpCoqr\r\nPQDNcmA+RnYIPnrCfkXLT+hQkMqki1bsa7dZKKA1OleJipLv2GNVYKWSPgkG\r\n1bKLiDsjZJ7YmVroZHkKFqz8TDQpelwUCEM=\r\n=w3++\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"d05925b74907d270816b2ac0d843c18d3cdea08b","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d05925b_1674007973770_0.48495054777900104","host":"s3://npm-registry-packages"}},"0.0.0-experiment.5db6dd5":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.5db6dd5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.5db6dd5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"be46b8402b289096c153af71792043ab27b61b27","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.5db6dd5.tgz","fileCount":244,"integrity":"sha512-hNQpCfIpqJ/1d5qOmKrVPsFeMd8XXXxEOeuP+DT9jpFJDMOFmlVTmM68eEw+xnwgp9Xl703Y67wa5Ala8aRqEw==","signatures":[{"sig":"MEQCIHFUkzA41Ll8nE5YJeCjvnNNjHSstIBgUdqooyyB/IZHAiAGnG1TzyPk42o9fcqM24TvdpFSBjajzJG7hbC9l33y8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37599824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx2N3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7zQ//WRGaehyK9uJrIZnhcM9ODclg1e0YALV4hq60/9cLyNOyX5xD\r\np7kyscH/3ai1ix6K+mvBgyCBpdKpTebRgdxArH90aB74yXHbh2jJIizR8xZt\r\nEpdsNDEm63cViqBGB+n8ptxmcNMZqp6WBA000vudddvm0yTK+ogQufxreS3O\r\nJmkHxoenWQ4YHOri0ztazc7B6s+KvrbE3H54AakXVjDhUNZETcctM8XtGf1l\r\nOiPAAMvArrs+WecmgZT1TDaoP7aKLif/nGsUxMkxwAmXXP48nT7yCQ/IbUXJ\r\nD5e2W4OBO7w4JIj6j56Fn96cYCVKzU2kd6PolKLU4MtzOtUkqEf0cixGlR1I\r\nymioNz9m6jBXjq8HWvj/pxgOY9wD5/LfBZezt27Z3xnBP8ifUVJb5h0HbbD4\r\nBHNTz7lHiaxui7rTnrK/oyQ/sI3TEhBtL7SH9E2YnoY/VFd61/IsGxspW2NI\r\nslrM77mvzbtqK0osJ3Y5tM/Y2fLFrYd/1gqsx2O2Tf/ARVpop6K0vmOQAtk2\r\nVESfF/wsAktgLRw2k6ehFf99tBp7Rb4E15oxXZ2ihcLt5YtYkM15nhAQjZFk\r\n+H0jrNoj7K7+m6CFTlTIYOaml2hnUTvLnQnPbj+7VbMNy1sVdVaTH8dZnGhg\r\nIskQ1zuEq61W3gHM7IF/auDhvJYyPxO4xKI=\r\n=oMbh\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"5db6dd54fa6b48c6256dbaf99a1bd735f31334ab","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.5db6dd5_1674011510726_0.9689725087830012","host":"s3://npm-registry-packages"}},"0.0.0-experiment.45515e0":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.45515e0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.45515e0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ee3dba37697e459e1fd17fda318c93732b1b3a24","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.45515e0.tgz","fileCount":244,"integrity":"sha512-mM3Y0PmltDH1hGotJMVe5SeHGAmYyOuNGXcmFwNSO2F+u6h6Vp9UWvVsdBJ/L0tNgXzz44QMf/GpC45U8bB0bA==","signatures":[{"sig":"MEYCIQDpaltQaWgMX/2fuNv95P7EPSphZkfELRDl504ErjZDPAIhAJylzJC5Jk7x9Vow24JMu2UmiwqFJWGtS/eugGq9ZI7H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37583470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx3DTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrnjQ/9HuF3f0FmBy4rC6S/y6fPO3zsNNrwAc93ANYd4Qg6VF352L75\r\nA9pWiVa/d+jH1LFxQVKNNkvrs87qgisAvB9P67nMtlPUj+qftZriir+12Dl+\r\nzC+MrqzpwkfecxnqXlYVjRzyDA/BMcvRdNTVP6l/uYOdrUNkuKtogaKgxUvD\r\ngWYFjsbXn/cEo6zYm/7KBa+zsaNy+hP8oM5KMrXXNb6bUBog9p3U/0zYt0y0\r\ntn8ZXe3t1o1s8yyybJuZe99SyL4xZA29ifsP9vlX55Eof2Ko0OxPR8rY3coH\r\nS0PBUuwPSiSt1YPo7ppnQLzil80tmkHwLd02Z089Wt5E6B5bCubRjs0Ko8dZ\r\nD4KrvoEfrksHECEjgMmT1yunuXi7GqrKVBqvWl+KLmmPD94jFqnJOEEWGcKZ\r\nupGn7D8Ubxp/6KmSMx30mEXxTEqS30rbe9/u6XoI3NwwJx5YF5b/u/8Injr9\r\nREVUlh24vXlHOaQHKYbPeFWG5h5hkFUEjGA6RQ+s9cKS/OorJ200w5m2nNxW\r\n8qgSJjJddJZ/rPSTIFfb9PXtbjsFqPSPISUqUnoI3g0fSt3dlhepRppcImvX\r\n7jaja5O+SEkVPywz0hGGb3Yh76ivB+/W6bu4DMslS/7LjdqIAM7tnqL7JvpD\r\npZGWxnsTCD5Ow0Vy6VTxSedozfSwgIeF1+M=\r\n=x098\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"45515e058ec956fbcc6521c79bedb1821a02f36f","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.45515e0_1674014931170_0.3683247217896719","host":"s3://npm-registry-packages"}},"0.0.0-experiment.c5ad0d3":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.c5ad0d3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.c5ad0d3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f3589d068462632855e129a3e20b43016af38e8e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.c5ad0d3.tgz","fileCount":224,"integrity":"sha512-bIYM6SVWtUIyL/0THGgsw8LHyzmutPytUkE8mpiZgsc8uTWsx5jNBbeje3FVVDIDz+khdYnmXpDdbSS0En8m5g==","signatures":[{"sig":"MEUCIFW3/LbslgP4+cJCfqP9OjpV3Blxi8dZrNhrrUH9SEC7AiEA+JWKE6DqSPrItlJeYH4v7Qc1Wi91iYCwCyeLluKmUoE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27207171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx4WHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSNhAAgtG1c7n0R7bEYHeqSODa4IZu+OBwlyY1aSyytyyU/cKEUUWP\r\nUOTzNzUjtQubgHmm3KJ0HFG+1c/nI5Ims5vYmJYK1mJEejH7E1B6RBoKs4uR\r\noBR2lR1ZxddcseZbjot6XrZyAe+sd1dpxkfJc09yTUHXgN/bYBH1Hyjeu1rV\r\ndjZQq2jfp6zMAhRMZnsJMwTUL+hQCFmHygSf/F6O6fy7FtS7NKfHfnzRgtDI\r\nmC+nf3xqMBAwjWW1+cM5YoikYMAD1vamZim0fQEw8aTiCigXBaBAP95kV734\r\nPj6hIC0HFPuz5PO37QJeyDRrl5OSNQxDihu4ZIZYmHZRbjgLCvtxfYZ4wbih\r\nzXvVvJobRgSxpRSdC9L/NFYhdN9+8D0Z+hjRh2WOK1/h270f74Ili3xjD1YK\r\n4iSY5dwVpNGY7DWR+3UNVSFF2/1Gz0WUhllWl17gXimPOfnuW6ASuG6Yk4ds\r\nmL+aUD++0Eb2ptJQm1bE8iI7X5Y8Pqa48eusxQVpBJKqCFI9f+AsBLUwPOyH\r\nHw7mE7PjGy5cDXsM/IIxOZTsLAzlmcjlcqA4s6vwI2WbREH13sm27gpyZn/j\r\nDQ7fSFQ1SCsvOryBvMviQ5KWxUKxYQ1e5P59ft9r7aE1H0BOmVHFjjoPPjVj\r\nZWMpEGBUzK3acS5QZlGQrl5Yntn8W4l5m30=\r\n=fje8\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"c5ad0d332cbf25bf7088476978a739c219724152","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.c5ad0d3_1674020230795_0.9443019540790711","host":"s3://npm-registry-packages"}},"0.0.0-experiment.b1e8403":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.b1e8403","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.b1e8403","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"352d9afa8c2fe1b67deb925cd8755c12c3dab936","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.b1e8403.tgz","fileCount":224,"integrity":"sha512-/rUt+g0K+1drln/2o3BjaxOVl16XKdOjCR8DLdBiHM8od75mqx7eKT94gv1HzaNDL6pxLjKomrlXCQdawVo6Gg==","signatures":[{"sig":"MEUCIHzlMuJDORUfBqUoMe9H7LsfPd7L75VUWNOTwNum8dT3AiEAgruk32AP2pt9tvZvT+cVsniVRbSGsBupiXSGczH5aVw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27207171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx6frACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfmQ/9Ei3bMwC5wbnBGexVEZu7H/JqfuO3vlBaEsRdZSlFePhYQYn/\r\nWAiQS873HZoKYUK9M0LGbU8Ls2MhdEgwSUJT+f/CPcCStslokZ4ITdlZEKr9\r\ncgswzLDmLr4q15/62wzgDMlzya5L9zbyrJOjZ3mQLeF0A+QvUPm7EGrEyOrX\r\nybKc/jyLfaZ09SJOcx7joz82t1RPSplT0IqY3MISBP6aOCXzqamrAMLO4epG\r\nbWezinPn6+N6G3WdF2MZqwaDBPSsl7q975G6qgG/nv/99CMKF2309iz1nnDA\r\nx3q+pFKl9lQE2ToamfxwDc+DhWSp0mE1tWgjf+sm1TQf6Z0WCTQfug6US7fQ\r\nOEQC8uB3oOQRf8FZQES0ystuTqU8QP1xGQHEnhpqJpxg1A6KbITMPzhobcMK\r\nubU65brNrlveObphmJBiG/MB/ll1BBmrvhCgNenErzF4IITVkKXcfh1v16bV\r\nF1rVyn/bUzJu+LF8vMTktHWk89JhkOBQ8ijNcl/116sG4Q+W1Y/tBw4mpjus\r\ncbgwDpHx8ATcyG77OeITNq1j4DtGMkDLlwHVWJpxDkBVOEskbwhx5mOVycOR\r\nFoHydASdeLLpFXXHXVarDOFFurByGckuYGMVMWZHLaRHx0YvEB27zU+xPWDf\r\nOTNoBppfB4dHDU9bNG+t2Gtt6dLzwNyV6OM=\r\n=fNZk\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"b1e8403735658d0afc9b2ce6ae0ace78ef09e9c7","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.b1e8403_1674029035382_0.5368535686558662","host":"s3://npm-registry-packages"}},"0.0.0-experiment.f638eab":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.f638eab","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.f638eab","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d7e13d23ecfd2f645ad4d18de41257d29ab55160","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.f638eab.tgz","fileCount":224,"integrity":"sha512-3wwhSWCd8lyUd2EBXF1c2/50hIGWgbIRCZWPUnNN5dHqg0r4EXCxtZ5J2hjQxtmEpc/2YgUirgrlr/PpLooc5w==","signatures":[{"sig":"MEQCIHuczyMgRyo+GtQ47jcAV9R/yONQgVplOvh6NkLLDvi9AiBiQLxM7b0vT55LdSMw+2H8NUe0t1DjJPIR3rBTq2TmRA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27207825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx6nmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqS+Q/+Lr9A4ahxlINg15q5mwMHxUcZfca2LBGdlsom9dVJix6HOE1I\r\nhqxTKiDS257q2XZvXH9x/wT2nmfDb2BqoxWS5CYUXBLey9qwk4QOA7I7+1FN\r\ng8NN8JnW1nT4HTS6Znp7spK1UbmIyBW0OpD+GmqHZyz0vR6GNDHjOa66d+g8\r\nzwQ/v7ZiRUKPlAns0+c+b+92G7+hbI2ij4K+7tCyIx7ELQDYI7sGuqV/HO4c\r\nstmU6DlZMhqoUcDG2zgft2uA+RlRv1/oDTnagOz7vcwIPZf8n1N/6CBS7UCo\r\nRfd5fYaN5wiCK7Sr/0TIBalOtMRP6Avfyf8j1sCEZnEzrDfZFbvqwWG0SRlV\r\n928sRj9eWGfcT+U0QzC11MAaMLB/t8BMAWtfY06QiHwlrVJNQDWN2aKfiXgO\r\nU5z+iQUvOzM5WCoRiUY8i3C+cbcfkSj/UYw5WqEd7uFvKCWxlduk6s4UZLjL\r\nA0/u3DyF1ZC7f62eTRQqmczOl//P43MEL/0RYYo0/oPsnLEbG9bpoaDly2LK\r\nOpeJcKLXOD5rkviP2lYaDBubrwHKtTIFvq1iPifbA734WbP6MxyhbKYzkQfW\r\n5O3vV9tZgw4x/Pl54n2B/wxtTlUYsbPfgNbQV4pg51kBPeuMpHRbL7WlHy5N\r\na5zST2pbVaZ3tsPrQswHyQFENOoS5YQpULs=\r\n=OxFW\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"f638eab00775065afd91ea7be88da8c11c37b7a0","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.f638eab_1674029542372_0.7497396927222528","host":"s3://npm-registry-packages"}},"0.0.0-experiment.52c0b69":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.52c0b69","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.52c0b69","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a73c71313461bd67499593827d7344f7579694c6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.52c0b69.tgz","fileCount":244,"integrity":"sha512-wjvggLpBYxbrcDLdKV9I+E3T3tGWxLn0Zye6w6mAFexu//hWhNi+s5Z6D1ufRqoZmqpkitIrnsrULhclwbBz1Q==","signatures":[{"sig":"MEQCIBrRV2NscufM4K8IhITHHB6mbVXDcZXX8XWmLB3taZSuAiByNe8y2MXrIljoKzbl2YTHXQodThtDjWTaYiRjeksc3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37662973,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx9owACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbKw/7BzCSmdTrQpU/QUjtKBK86L5i5RNInEQQzeHuaUEy7l72CXGp\r\nJLsQrKBw1DB7+Kybt3ykj3XzdBeyvR+hZ5ck8T1aqGNjZJbNBaw0CadWya2/\r\nQPMpFmkWZD4RQwcrEG3R9k3B0kEndaG4NRzMDSWTEL/i9XbSON7UFGGZTADF\r\nufZewJJd6hsO06a2jVsGNv8a5DbzZBvPWbRufz2WJDgaC2Sk2MPG8nCA8x3W\r\nDlp3kNXOoQ/6wR4O/cyrPLnaZWtRGlNq6MEjdlCI5lOxVHlkDvyK5NF4kaBy\r\nt3j/giPEIxzRBDBKC+j0ZkXStMJS0K6MV3InYKCdVaj9OqndqybojKdlagJm\r\nyze9oT3Waxmsiezwhnth7339N7R9ziQAGDbYlZWDM0cwMNPWU0N7N+xkUYf1\r\nMjBw5EN6vez9jjUA/zHWTglgGYriHgePQT4XmuNaOx1ac0Pwo5fe2v8o3vk9\r\nOMuZbN1Kw6MGKZ96Z/wI6voeD4mvOlb9eUmbHHm51hCUcJzpDUfAz+IHqGrc\r\nWGqSeG2v+pfEP/XGBfTho//WGTSEUlKJJWNub1FwcVe3UMdR1u0rUzEIt2iC\r\npIgi/HviSYVBa7Q48XvZMKA3tENVhVNB3SChRjEKdlZM6Ph8MPDMZ1MzBZ0z\r\naY7gdMBcsrw90QLzZcoKuh8RaejRjzJRAYo=\r\n=CJ3R\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"52c0b69456639c6b47af7933e0f018cda9f7ee55","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.52c0b69_1674041903923_0.20111204110493008","host":"s3://npm-registry-packages"}},"0.0.0-experiment.e28dc5b":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.e28dc5b","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.e28dc5b","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ec5899ef85b252b5246aa4353349111de883a55e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.e28dc5b.tgz","fileCount":244,"integrity":"sha512-i6HeAmzlsd74sOQdIJQLLKJE3fX6b5+URc9pEkdtEEWjy2IcN6mjU4zeL+i7pyTkENopm83akO7o+iiqQp/A6Q==","signatures":[{"sig":"MEQCIF8Gcvor4ao5QXeZUmB99DDCB6QY4VHFmlKkb/10YekhAiAdeJYn6ruytbFAVpCe6TY3vkEWdDWt4TZhmY0fKurDfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37663666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjx9uxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZRBAAlScOFemQarNNH9Wd+DQZhsiiRMzKjZLgSboO2+9+gT/WTNw/\r\n8A3XvyAhalAMYgZ91qozHp/M2YvHx0GOIa7hXfoffqrJsZpAGrdL5o7XKIkP\r\nZ/yWWZYJw+xa40KfWmtrWvIKg62O9evUWs3HtAkwwf+oQWDoKBuA2OAu8iF4\r\nVfS5mI5TT87yTUdUasqIYDbJnBv+/SkOzRkazVVBgQzxDyjI/mtIoiKSwQ9Q\r\nBUDdmK+FPq7yFAqcHIynxj8lCKdPuSgXZSaGyzQWtffmBp02e4l0vgtcYlG/\r\nDezoDG1JgfMI3SbrKJub3lomHWV7DEfR5K/pXn7INHhGqVyd3EkCJKrCtxAP\r\nWPSYGOf2ZneE6ObZlm6oZYKVxJJY/b1X7xh1/usJUy6EtjCBk15kgiJWYZph\r\nQiUU2w3c/tLcTRhhwxTdYeoaLsTbLG0Ah8Y7rEjgzf/eY0VGygA7ra638d/b\r\nOOtZvI6Hi8TE9prcZ0uXgzhisQ7idjEedvm9j88ei0xhoramtXt5xPYn1L4E\r\niOYtKJVAsAZtdg+4Ymjou7vrx2C6Lr0MG6o3kZSKLQ/Tk4ZDuMD1rkNU11Ex\r\nJYKVx69GsV8BFgfUiS2K2FQRCj/lA3RR7GGj/80yL+l1+oANpqSYv2JPTFHe\r\nkW+6x/jPmIbDbR3/cVoEiPZXZzljuDJVMwg=\r\n=YQkY\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"e28dc5bb23b71a717f82a945779752ae3ab21ce6","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.e28dc5b_1674042289310_0.7324110749240129","host":"s3://npm-registry-packages"}},"0.0.0-experiment.4f494a5":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.4f494a5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.4f494a5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4fd315faa55c661a1893945d343165f8e3fe0123","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.4f494a5.tgz","fileCount":244,"integrity":"sha512-aOfemEYA0bsrq0tRiEVzDsqCRS7o3iJZr/XA6V3YAEirg7cj/B68yoZQLSnoVQLi0VjghGaUwm1sew5JQ70pAA==","signatures":[{"sig":"MEYCIQC+sP/pEOqsIBlJUZ6JieWUTL73wJzvdhChvueDgGNwDgIhAM+BuJbpNgm/NdTlsCutRtc1lQFbev9oB9I5Oy+qRky+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37663666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyGyJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqwsg/8CkkaV0DWgHtdKx6Y2BiSqCvpscWBpG5LxVCvnmFhv8yRgA+H\r\nEugw35F1Jf7qTe+dLV8V+kRi4YGFS/SD6c8I2qdT4ixoATF2WQ36kgmKw/Fv\r\nL028RJGLTZT+y7hgsgcsaWO0wSZtFOT1eq3BdUZmEHP1sSKe2ulRAvwFPAU4\r\nZB1RfzMsCs0Gz4XQs9xhgyLQ2ZST0zrdAaF/nNg8+HKRfHo2HxGwRneQj2ec\r\nftxFOJzJ1veMOyGr9O3ESjWy6tzoEpdqdGswBlNc0cNY0q8dSs/G+12CUKiM\r\nZUC9rXQ3h8KXxZ3itVpf2CiHdqQ0RSZiVuZQW4x1x+lWBBbrUVA0p3u2dqyI\r\nXDuFXg+ER2jeMq/Wht0ONB3TY45YUrhnyRQ3Pw+RNQZrx5685V+oDsNGIX6u\r\n3/c4rusNoOuAeclLBX42epkoHzlYhT+SJldnhdsi22TfqxeRvmuW1cxygPoi\r\n2PVrC8z0DrOJTnQ1tX/TuSv7DyvvwoFG0tRZ2Rw5Jtz7ZWN8pSepQeXZLx6A\r\nwHaTvv5BtNKRYf76A43BknsxXJnKUbJa3FamQrNLyA0J+TpW3dtqQ4LQlewu\r\nkTTm9Ck9e5UITVb0pRIubbwIF15l3akmzS2oYnCAd+Qi5sBBfesmn04Ykwj8\r\nZExmM+O9Qq9adZCnzSYrZw2HZRp/GXBfHJM=\r\n=oR/E\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"4f494a51febebdbfb11aca4f174c1f2214a381ef","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.4f494a5_1674079369568_0.27864147362175906","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9b977da":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9b977da","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9b977da","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"89cdac4637745aca2a18955d749b2da22def3b01","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9b977da.tgz","fileCount":224,"integrity":"sha512-VwCh+9sy2ePyuQAsImA4pHN5AIjdF0YsBUGvNCjbVpANIyQBHDQUhGScKE6UPinTnwU/B4HOqNOFBLmjSBGDFQ==","signatures":[{"sig":"MEUCIQD+z/Uas3DFXIAlu/i+mC4nmDWCHs6j/ts+alcTgtksUQIgfiRfdS1rUdo4oBiZfrViR7p+lapG0nWr/jzSk6cDUws=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27208400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyMf1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3eRAAkH118ffCf2tkFKu7My+ikgwFRnkb4boFoFEQpTFsEMFdTvGC\r\nyTt2UwubOH51l2Y5UgtHYoRDVo+iUZWeU62+8+XzOrRHivAvyjsAz0c/WLEd\r\nQDC1vxBVQIO2sAsXe3zE/47Yic6IVjsSE5S3BycNuXZzE7cTktY7Ds4LX3ck\r\nHK/xaJTs2Fhvh8ml4nyqjld/kF/6K0tM68jAupCR2g543v1HujM7ZxjIfhZs\r\nNz3hHVPdbUKbroUNYoE+dFa1zaQMjthC5FfBwiuFXwCcuSNZgpq0B8iHZ4e6\r\nzTCHCIwQ21FH76yd9w/6GKHg3Eih/JQ+kK/3V1rEA8A/7WSWHyNz8fGL3QTy\r\nTg5GMMoCMhgwQunvuTF9Vj5Sch6i6vP32SLiqLvNF9Qkz4lzJtZjPQ1ByIx4\r\nl3yH11gAN5eYKi3mtS+5hyau2o79MgY2Wb0mbKge+kkqx7rP5VhoOZQOaChY\r\nHhFS7uhzVyR616DaZ2tTQZ7whIDsTCFzcUJtwt4qmTH7OA6GaPoDPN376ary\r\nGy/RGX2XQgsZ98b8j0Ntxr5F2//Eu/JDQwZk2AetFkyOENQuE5sUCldTGUQt\r\n/ITClcl34SvWt7cvCEe6Gmzf/MO3MLfHkGldLqMgP438xT9j09ENn1ik/55P\r\ntFOSNd3KeOL5tPM8eF6Itb32Fcq+Z8A3Bjs=\r\n=hAf1\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"9b977dade828366d651111b557b74b3f1be9ebec","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9b977da_1674102773197_0.4348565196956975","host":"s3://npm-registry-packages"}},"0.0.0-experiment.82c25da":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.82c25da","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.82c25da","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8eb7953654560b7258e2f95e79217d3b9df41cb8","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.82c25da.tgz","fileCount":224,"integrity":"sha512-Ff2ffBrP4yJCt3JmVg1uXsRbe8Uy3FQQBmkPzQCtmoLpQP7lqTNcz2CNtE4MeYKfsPdwwDCe8a8x7jkZ/s3rOg==","signatures":[{"sig":"MEYCIQDLK0/j2AVgwk0LJLqcqYjc+0EfKdO5e4UHfFFWscXYOwIhAOTLA9Ohy5en1BVIDkEY1VIOEmaPW38In+fvtrNd0QXH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27208400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyMkHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUgA//dvR9DJ5iKnMvxMsT8MsLMqivfGRdEykF9RVLPX/0jGThtzkf\r\nzoEmiWAYKqmqJ3ifp67oGRGfJ7Gbb6iGey9AUheZ9Rjb6jZuof8Yb51r+jy8\r\nLqMIMo8UyXf8bmR8YmLPx3fbFL29UxRcuLWkaj1XqLeWs3kwnFbhWhT0tnrT\r\nmbky72Nh/s8HaMxkT51UGfWP/0CDkN2LAHocIZVEIv6KktSadESDmZDQrnxq\r\nyP6KoIjTb8VEPdY0MNeDWm17RVS9U3T1/HiyrqFrIz1xW1VkJPEWgPHqATVj\r\nFhQw/Jpj9J8+7mbw3WP23io7Xy9kQ38NIL5mU7U70v4lBI3DdtIFFmHxs3jH\r\nGf2jHpeGlrDxhA7I/j9rDRWkQm2a9KDVFLnvE/c3KL8cyJtjDyVguJdCxA4v\r\nqOaGIvHnTZeb4NO28A5bVnj8oOGJi0oG4AbD3qOQHb3VsBrUqg9XX06NFknX\r\n0kGQpKFKBRTeHm1qsbR9UEdhvgAYCGzYY9jzPfMoDMekyWapobHAGJkAYphS\r\net7rfv501w4hCUGlp3cNff5Y8zElFIjvV0Y+7oHaK+5tuuz3tIs6fOO9debA\r\nLzIV9EI+O7COQIInZiVysgUhfgDBtK44MHBiz1nIqbd5iQ8RSSG4zUQalJYE\r\ns/FHsQ9kXBk6emxY/KwYdmYlUOCU42x1ftc=\r\n=hI5I\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"82c25da02e1a2b7245378f994530b520e0893a7e","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.82c25da_1674103047465_0.7725067742569289","host":"s3://npm-registry-packages"}},"0.0.0-experiment.76d1bcb":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.76d1bcb","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.76d1bcb","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d2159a0f5555cc537a8a903c84c08443b59ec6c8","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.76d1bcb.tgz","fileCount":244,"integrity":"sha512-OhVyVnbyeCkuP+Dl4hVy798p3d05GZ9ivy5Zy2kMc74vcHju1ujYlZfMbB2VDHRhaO2qCfQ+kURbyugf6LlcEg==","signatures":[{"sig":"MEUCIALzNfKy/Gxsn+dD1zPOXgKm9yLWd0CXg7rg7Narh/lAAiEAkDC4egrZpkemamrV3pdGj4BDDZtfguakhMz7kG7Lkwc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37664274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyNzhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNjA//V+EZAl/3HVn5JkiJSeiPpX9Ijfq1LmrOk4eYegWJ4jALPnJp\r\nvgDRvAFpbgHx8gh1M+VBrdfd+AYuRgH7QMHICrAu8PVoK6K40r6kg4wJyYWm\r\nGRkApdUZUt4bKTEQnPmi+5jF2AnmuKIy0/d51EcFAaklBFPvaDyvZ0FYEgsf\r\nrdV0X3tXEORyDubV0NERJ2UlGGe0Lw/mKJWgr0ZrphWDwZCjALBSxP5XbljV\r\ntkn2s9n8OVESxTVwymPqlALj22iOtu8dYXXWKCRD7h4gQABAUYE9VnuIlim0\r\nkmS2aNTp91ABMA658EccxMJqJcMVK1SRvvhCFITkWsqski+v9InNG8pS6dg4\r\nSz59xBdMEcSCgHSJpHhU2GjAT6swlBZUEsCsde/iaQGTDIi9S+TCXUT+P8ce\r\nGYAXuNCu48QxA8XxO12Ewr+Udwgu6NWFjzWmP728otdV7n4Q6VN/OTMLSnV+\r\nZugK+QGu3xkPmjuOTEyUmPYLpFIbNRZsZgpv4AONmopvAqOn+djcKumdFfsI\r\nF2N52bIiPq4ACPQbQMSenQp5s1Kv5vwJsRiccAQnLa8XmaXFeJPsTTRT2XVk\r\nglwmqPTzwX4ZenL1rEi3p2H63pFHrvUb4/XO87Gk5R75PAyzGw9Ze/DBbSVB\r\npaPf8HU0eYDXuCYxJaqzReLM6WOE83L9BH0=\r\n=Vjl/\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"76d1bcba87c11b0b8279f830f6c4c2cfe47affec","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.76d1bcb_1674108129273_0.13950337776311073","host":"s3://npm-registry-packages"}},"0.0.0-experiment.a8ae32e":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.a8ae32e","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.a8ae32e","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"264f3ad37ad653efa49b29608facadbf5d4ac5d2","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.a8ae32e.tgz","fileCount":244,"integrity":"sha512-nL5uFFF9sEcT1AQ6gQnJBJ47mzq21MDXi6MpdRoCbmFnz732Je0w99G2jpQ/0dVSj3jpM+uX5U2xRih4G9obDw==","signatures":[{"sig":"MEUCIQCm98WP/MLXLpl4EX97jhlOtxqiNdSDQC2DjwWN8GFyOAIgD/CLB50eLs0g0utWoXHbOdMZ1ZFzLNvpdQGmVQFEHYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37624530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjycsVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2IRAAhVgkKLoTJb2n+Mf6ziBXxNMCMYb/yOnLlU74SHu1nbjUJPxy\r\n2GJh9XQCkbVeY0/xp5qDdcehzf/O7vITfDIz2DVURVaYat2JRB8w+RsK15kI\r\nuOUq+53bjF+RuFo5qeuXLJMCI41dIgGqdMeK/KEOQKjcsfI9kFdEgSSYXjFv\r\nmtE8fqx6JIn/UmUoRYU69EDaf9aAA1Q+jIrieFIfieyku/h9IbYVavyM+N1D\r\nCDrTs9B84oKEAMY/H6L+6IQjb+8GGSIpTxkXch9a7gbiDv7pmvd2FciTich7\r\n32zxXPyzw1KM9ZeQSY1XDqjQgrqrJoi2Xt7p3l0HpIbXrkAZ6WyMKVBoiULF\r\nKCJa0oIqH1ka8/1UL2FmSWkkflXQhV9mhkuGUzC90/oxOyc3mTd9ADEv86Av\r\ns8zvTFl9bKR5L261br5eNufqfqEa7QoDm8K2jkJ+VzM/L8cqnfjB5JTB6ga8\r\nZiDVEI50e3QgOODMTVPwJprAJwAtGbXizOt4m/iTM6o5NKCc0fwJkj2TfXc4\r\n/Vi39OccrADFwBOEb4qhSCAUqXhZUhMrzRHaagcFffFwsp0ykREzNnt6yZqh\r\ntlNVwjr7phEQJfC4+kuwqgpIEbPtZNUAm9xn8brwdJVeEyrG5bRDd19semUh\r\nElFw3iREdnZX5I8mrLD3oGdNMJ8boCGKhNM=\r\n=5HDL\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"a8ae32ea9ba48fd31bd029b009fc622737fd2d18","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.a8ae32e_1674169109016_0.8740497196600734","host":"s3://npm-registry-packages"}},"0.0.0-experiment.4431484":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.4431484","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.4431484","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f10e73680b6dcb89af0677e054ef8d9a7a63fbc5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.4431484.tgz","fileCount":244,"integrity":"sha512-iy1oetVLk4hUDC+TlYV5bBtFh5dmw4AOF7ZpB+7hPfLAF1mEaf0B74byNiBby3EgffdGoJEb3Psb96jhgAZQCg==","signatures":[{"sig":"MEUCICtPOmZZfHZIvz8axqJkN80pjA1fOHRuU3mdcOJaw6jHAiEA20Cm0grfk8BnpRLUxOcXQ956IerOuSFZ2KeZtXMYNFs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29348573,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjygpyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmokvg//TYYuXRG2QG0bodxsrv+NzcPNOYSWjlCnZ22zN1ZXnAFF96/4\r\nQD7NReyeaAToAmTDkRw3KuJg4w0BRTCvmZLrya+T2iJ8N7mzzI6jlm/a9Xjh\r\nFUNddZydwSmr5xPIwtDztjhJtkgmku0ce6gpqRMkMojYxsFa0p/h4cWyGufU\r\nc0yjb5KIT1Pi99uDiJJqYjtvMnvjuBdWQxyJd9ZfB/+QEdqVClm2E5B9AShD\r\nbznpQmIAx42LHqLCAI2OOnGBD5j8w6OsUHJX5u+sSETFOSpeeIcTni1wNKTI\r\nRlaa1fmfD4zpNXSnJ0Ww4worF/i70goFzZL7UyYnhhCL9bgx3FLwkgo99TLD\r\nsuNhtu4dAsVskpVK2mJmRKNgoKsplHSv69rbUbdP3ZfNfuueKFYMCOH5tasr\r\nQ+fO6LvxIosVFaCDjdTsL6shuH0UxZvXSzwKhDI9jhorHeMu0iUEaXf/bIGf\r\nF7OqsHUGRr8jL1nEkelFXWDaR0xbM5D60+4c/QNYN014/mLKAm7jEMAFl003\r\nOWK2iebOFO56PiWngGF3NXmadK6ouoiXDXX3G7Legrh0ZvlkT4TSpKhFzEGE\r\n4PotC2Xk/ggGN7myUkofyLxIB+STrethwDXGONl5cHTd/4mF7C5WsePPFCWS\r\nGvPUE/fBsdoHpXSAk7oJ6WNYKkzPGrH153I=\r\n=vYLs\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"4431484c9309a38a22f35584fab1b0140d1d3259","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.4431484_1674185330054_0.9420747072681659","host":"s3://npm-registry-packages"}},"0.0.0-experiment.360e52d":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.360e52d","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.360e52d","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"66c777fe9d5fd3b9d5f5c4704dd28a8adf221c6e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.360e52d.tgz","fileCount":224,"integrity":"sha512-19TBwwrx76eoh+01BrEwiXqceaf1ZRi/ZvNd+A4KUf1cysw6i/NE1cF26M+XSfkJxSnFo/YSYToGnk6ShGAdBw==","signatures":[{"sig":"MEUCIDdAgxgcNBcqjD6KvAN+Czcts3neuUYCxmuYccRRL8PaAiEAoDCrbIJET16dumQVzvLDMPBfRIkaEUsOBUaUUktPJR4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27208400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyioUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTHw/9HZzsSuxMjfkx0doBMMVBubPzVh5yYqmZyWVdI7iPCsy8V4Fe\r\n5KUbihXLIhNjNJv3cA/xopiDZhtqhwSQoWrhTOg1fKz1KT9eoLnAGusqgtSD\r\nYHZphfdc10qS5nPLOdUaTxba2RlW8ZieFB/gCizSU32O0a//2DMuFpXFCl/N\r\nT51GJ8HRefqAtsd5IBgX+z+QOsWsF3K+xuRolb3Yj+G/KmcdgqMFvSR4MoyK\r\nDfm1K1TN9WIDrYihsgqNkDgu04WletFoaNrUVuexpdLneV0XwYfNYGCJxnLh\r\nEqp7y2teC1rhFSRdXxS2+lUG+IIaZeSZ2Ob4S2fbnQ1TR9u+xcnD401lBMut\r\nvKovMJEeKozqds/hJJrNlXXpg+n9B+7FeXH1I8rAdx104SkhU1efOVcO5Xo+\r\nkS2oGnUX6DPXbhi/qM2iTxe+fSeoLFuFNV7Q7c9IMW7uMyqTjpAsgOhoZ5IV\r\niLWxwjnvCuA3gxrnj4kx19apjrHWBH2JvfIWkWwl0h5qsq3wnjl/YbXF8tCJ\r\nwp4kzv+Q/7lE7tzVRqSyZ0UX+a4aUIdIH4GmW2nbwivIBAlMCI9go8CZ5Epm\r\nWa/tosAJMqJKi2EoFLnR6hrQPpDMv2Zo+7ozFcp1+i1bPwJCtebyv5JTmu6Y\r\nZrUyRlMqzfuLELQ9sjgN/15LjYdXbKvHqk4=\r\n=D2Aw\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"360e52d0dca086ca1ad2883b8429545e8bb9a7d3","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.360e52d_1674193427478_0.6500199079285174","host":"s3://npm-registry-packages"}},"0.0.0-experiment.09d5eea":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.09d5eea","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.09d5eea","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b59e011c41ff7f3036784febacf9c85b25852a94","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.09d5eea.tgz","fileCount":224,"integrity":"sha512-uZCat4NtbIVAZWiVUH4YZEQuzP3nCiJSkUtc8s6w/uh8eQyhSmqNu5BzqkTLHaVP3G8LiZT4ml64Af5x2+Ypzg==","signatures":[{"sig":"MEUCIQC7kBL+gANLlOtdznP4rY/Gphl9arJOEoIaS+Usk94yQAIgbNIeXkWAyQXq0poaaEj775ABlk/Ec9PtbqSBRixnNpU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27210559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyjCkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2IA//SVVWKAIyKlV35RE/IZ2F1+yuk+UywvxHQqCiohma0i6RqsaQ\r\nDiGAlxRFojOj7ysVznSjgBdgzgozL0S0rNsGgk/AC2erVYmnqbl46aI91y4X\r\nCWJjRsDvPWuSEka/ind0cFAvyF6uKkKt9oXAeGv6nTZ2CPQdie8WD8OcCWSM\r\nwnxW04XFAM7Tp1BUd2SEsfE3lIO4s9cjNcRaA36GpSDx0+yxN619tfAwjEKd\r\n3IpUKsVBW4zavgJT4aCEkptU3jreT2sjDl299Xpxe94NAyxYO99REiB5J3HS\r\njUdAhGT02uOywfqT7TRhgDBq885hvH7p5r4pPq8Lt5CD1LbjM8phnilfMCmC\r\nBH3iQww+7tuK9ql1NGntgAEGinjtnNsQ231tMTQz2qhFt0ugjmEZBiGxrb95\r\nB5SRFWK9mU/xwx/8OsI7dO+Cvs8wzPpfOw5n7RcWTaR87b9OiFcm/LkU3G4Y\r\nWffGdSP4TfWGgjJEuPNmqZK1icX2DS8oTi5P+G2Q6WTRnbeVZPiZFkshDLmD\r\nZ0U/yOe9Xl4JKOrRBEEqlqnZyinkW/wFHVH4gxczbbJ5PcYasl5R5iEcEP/f\r\nlsu71J/iKRoJvDulcfNPj2Np5U+q/sWJI0ge4XJ3Uyu+zFsH/XelEOYPlj1S\r\nM3SjCvNJD4eBKHY8oe4+ZndFEhTo3fGcWoE=\r\n=RtUd\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"09d5eea3740e55a37c79b95b447e8da0c08b27fc","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.09d5eea_1674195108662_0.16188347609699294","host":"s3://npm-registry-packages"}},"0.0.0-experiment.77b29fa":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.77b29fa","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.77b29fa","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6e0caba2ebd90c2799a704a4a3def309e072cdcf","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.77b29fa.tgz","fileCount":224,"integrity":"sha512-G21MjVIusCjGKvmnySInczLa5k2soJUFfS9f5bD9fqmsJH8SAAi0fhLL6KQLJ3tBHPu6i5J8TfFJz3sTXCdkyQ==","signatures":[{"sig":"MEYCIQCn3jxgTKgz0T/w6kwNFDqsDaYOr2jVpTVFUnSR/X+o+AIhAPkgZ3A3jkg7G/zsqOlzDzHjc8ceaLUbFBJ6JyYv5dzt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27210559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzeq2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/MQ//ZbqeCAE4AR6EnaLVC74cWPz7qegSpSVpk2EHhnGMLhkDAneu\r\nkLOGaTpj1Sr4X093hfE0KXdqUqEeJ+9D7BGtEGIblbM3KJCUTqTb49iD7kWw\r\n5UBVUcBnbaftqtylM8xiRetJFLgOqjSICU8xsxB4kJyWsR6Dw1nJNZ3hGP/v\r\nCkMKqVhCt9l0Q4T9bky1cvqV1BZ+z1ddPMRJbNLlESQnVKahnIV21dbQFNEl\r\nfSozvFxqJkr8VYqXdM+vwjf+NRNJ1D0e8lsfVhJIhlWlJnlSX/XO0zl0+X71\r\nSQJTGJxkqp8SnQwKqhCKwYPrZzyBVw1sVsXZ+89x7geW7KiB+YM5yBEJpJ8P\r\nwqkj9QUACbGOe9hMVdLhCsaA6A2wMmGOoo7cDaPEX5V8RyxDUhKDcXLIHC3a\r\nBsKiPEOdzy91/sYtcFCVxmjb3i8PMmPJT6Q0Nst8zXjJ3Gxe0ctOAg39N9Vl\r\nYhAED2dTCbNzlT/YIFpOD+lRGoYimEQdawCm1ntMKg4wA7yrrfQTs8sd+ByM\r\nQFaHfYS5IXPBvzHru5ICPtThxShDIf3CgrVp/VYlZMiGk08y2vFlvZBkXSu6\r\n7EHiWA1Z/NEsFIFdl/HKm2NjLCLXV0ZCzpicePJM/Wc4UDJv2xLgSDZtwlsu\r\ncJC7hugptvemVkPlbKKyZAaekS8N6NDZEMg=\r\n=uo6u\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"77b29fac38ad42327d95fbd295934b334a5186eb","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.77b29fa_1674439350268_0.578646267255924","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d9fc4eb":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d9fc4eb","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d9fc4eb","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6470337814709ec92a4d66a31b6bc671b7a48b0d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d9fc4eb.tgz","fileCount":244,"integrity":"sha512-rSus9Iehu9lYCPLw5cyF4VDcQF/HWVl+cu6GzVwu7kVM+Gu8afJYOdGLVFJtWSPqSgUrt9vPh4W74gXHUwGw8Q==","signatures":[{"sig":"MEUCIBRRIF7wIVnPWJq6RlyHkU7WBan0GfFGh3H9pv1LWAxCAiEApa0R7G/kLTolp+U1jhYg0miSbQJhxFQt/7o56EfP+IU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29363010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzgWwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoL8Q//ScfEN8V8UnZnSGOhSCvAWWlyNQTpWo1DScWOG0fZOgdGoijw\r\nLqreyi9Z399a3m4Tu0dYpiMkqLQFrMvFqZVgQTSpI9W9VGDz6YQAk99eh/R/\r\nmnaZ3N5NSjL+pbCyAO6m4n7p3dAPw1hVW4OzBgIJoiiM3sPe+6/48TQR054R\r\niWzE2ELn8szmLSaB6GcgZRsqIQvY6+Zqm0Tkv+7Et/VkJaTkqEEA3R8iC4Iz\r\nn1Xmf15qZkA6q+MgTbpKgj13/nh+pnlvSNyPNoQ03/8Q7mv57RTQTiWdxFa3\r\nTSTY0/61Wy7oUfBVQQllK7znARX/Jf8eW5mn13Hitm3Wcrf7lO3OT50o2Bcx\r\n3DRNjCZFoxjsqHud1owakXFrMDAXya9CtWwJ0S85OzLVZxMkmFMeiydxhP3u\r\nTzc4V5AHqVw3RPwjn8AClvC3FRuK0Z0oFXowwbQKdS1j5S9CWqTv9w3J8DsP\r\nou1aTwUvs2R6DxrKtxGDoBKL0O0TYBOolpvDRvcG/JZXUVhdO73SSEhPwq43\r\nX3gt54AJ4dh10f5BtcMM6Hc8cqRWrNrzUPjBAUahP0N38Q3utSu3KRYkqyRF\r\nt3r6dw6tH/pF7FPjZ/AvnCsqP1HjCkchZkdjNgAft9isMGowLeiqGRAovz/K\r\nNBHdZdRxkwJiqy/VkFbMDX34hiV+R5YVokc=\r\n=jZL2\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"d9fc4eb70183b441ce728820b00c575be1a54982","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d9fc4eb_1674446256523_0.44908188931362014","host":"s3://npm-registry-packages"}},"0.0.0-experiment.70f3347":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.70f3347","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.70f3347","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f920f81c78d5649ac8daa8721100e00b8c134fbc","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.70f3347.tgz","fileCount":244,"integrity":"sha512-wXNlAZGhBe9EbXKENaQLLdk9N9eItQGPySPPVpImJrBrbM1Nl8ewHuQXxXoFX+MkTL/kq+3XiDkd5KaVYlJPfQ==","signatures":[{"sig":"MEYCIQC/SouKoqiozN6+GVDTunvt+sXVX5BuFpjoviAG1xWi9QIhAKzLkleQdjCi+EW/1NlZVTqabm555lKMmrPHY6a5Lc9v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29360698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzxkxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpN7w/+PJP+3YBxbzG6mwczGowFDltrAmA6HtI7sopRN0DKeLe7p7Lp\r\n8UmfzVK9hROCU/wvAfNkRSSy75BgW9V0drKQau5c74c1aKCKMhBsodCjTm3a\r\nToIOhDYYlDM17ZwgBb/FaouiVgfH7UG8y19Jk6rGlLwDbJbqWsoLJKebWjvL\r\nWDAQYMGQKBd/Cgzmq9259SBUKeVWbUVno3lqjj9H6a68ZdHMUMWurIF6nd4j\r\ngRq063+tC4rHLPKU12i9dr+mgH7c2GV+MKj/jmRFs+K3OU3b75Mhoyuia10H\r\nMTy/IZ9hxylqf1vVpD9mQ9QLQiVkUCmfyWSDMalYiku3jUCayCMK8n/yPpk8\r\nMLtr+uPn1E20LvSYEX6LYtQCpb5EhKYGkyXBuoK095tsDSyuzH9PzEwkFab1\r\nfRj+06dyPkJp9lFPZgGUVphNN8s4oFVqkN+5iHHIXlfspC4VeydqbnzxEiEe\r\nZ3FlBZh7NcRzOFSCE8M6W/EaPuVK/G0PDVTXCUhxzO9LoumnLZqbp6/Cbxbg\r\n3/DIOHrMkH51oasmZD+t2SoUyMcjoyzq7dJzx6JQMkrDRNvrr4vUCx0wk5YY\r\nK5a04eCwAKhmrsTA5/Q7ZwIVEmm1qMefK3ZPVl4NrqHs+dSVAQrpKvZRDyRF\r\nolSAuJt4QuLtRGsyMvORdWXVqJEo5HXU/rI=\r\n=fE5S\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"70f334773e911f3b189f1a7fb2794d0b308fabdd","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.70f3347_1674516785474_0.4547020486241917","host":"s3://npm-registry-packages"}},"0.0.0-experiment.468b7b8":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.468b7b8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.468b7b8","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a0beaa6e12cad90085a892fb63e9c728ff1891d9","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.468b7b8.tgz","fileCount":244,"integrity":"sha512-B0U5GIaM5gJFWAxTsCXp7oSyEDLr1e91PtL7GDyOVcE2yI+vJzjud1vUXkJwinulsLhtE1z7+eaFk5tyGdPa6w==","signatures":[{"sig":"MEQCIEyggWnieFLC3z7RUGIt4xLUGvrBUc2v3ecEiddqHTmqAiAxN5zKA8sPRynZEhbX69wQ1Xdsp1BSybISbXoTL79MEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29370756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzyU7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQXQ//Rhrykfn+z6xz4j5hRNHRiCWkVtG/ulVTFkMHVpYwPS0A5QtH\r\nNqGv3yO7yCt32yWGcp7FxnqzMDllAi0oAmGg1VAx6NU6khaLvl8PxwMGBuCs\r\nCGnrzNpT6N26T5neANG6LeGDtJrzDfEI0misxAaKBgxcJWixmU2J10hPW5U5\r\ngKo2P7rMGDBhRGorIQ2ESW54/wNsJhgsR3WdhJUCfg6e2S9AXhycLRlWMlnk\r\njwav2V5f0xL6F9suTOqYXA422Dn1Pso87ZNOY+RDmVVs8yZ4qURTOVoI6zos\r\n0R83WRN+bwAyDUwdLGHD4QQLFgx6Ix8tRo97G8+/csfRxh2PgSppXjJxscO9\r\nRAjEKtTjXiLL1Pwf9ItPZyV1mNXc0Bptv0ckEGcHq16DAwL/HBKSAL0vEsPi\r\nwmMaaFGg47oNL9R0thZ9G8N7r8D3kd0hwFECGU4PutqmTijouAFSbgZTTQ+P\r\nPXLTmWlkN6FHwxi+B/PSvgaaaybOGlk5x0Sf0k/pta869x56S27qMm3heEIT\r\nj8LvyG6hrS+vWw8C205xyDfiRdH341Z187v3fSkOxLsPFrkQTeKLIsERffGb\r\n2H+/OdHkRWbIC4SAS7Xac9txGxyaa7KfUBKXWAif2qm4VHqXfbueHSBkHcrR\r\nsmMbFH1wteTJNM9SIvOq158NXc8ITj1sKxw=\r\n=s/B7\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"468b7b8b93dcddb480c9ce6eafbee658e25e4557","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.468b7b8_1674519867346_0.8621924484611361","host":"s3://npm-registry-packages"}},"0.0.0-experiment.936b6a1":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.936b6a1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.936b6a1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6bc2fb0f1c5c88a28b21248a11f9f4518cb165af","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.936b6a1.tgz","fileCount":239,"integrity":"sha512-JIs3g7adnU85Ela7/QpP0wGT/ead/VCopY5T1xOuhdEHyz000BVkmELlObLV2znaMCelQTD4RPNibrhtCHfoKA==","signatures":[{"sig":"MEQCIAO3nLv74t4mZqyafdS1Z5pIt1hyN3LROjUibWZ2KBEyAiAhaeZYXU/j9SmkI7coqFLGzpOC1QpBG+JIKd7SLz7CPg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26964784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzyxqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5GRAAgykF/7mShi2MSLTD0vUuzQblcfkC/amYJBQwlldlbawRNnJR\r\ni+HD9c+z2/pzZwZRu8feK/1Y4vVFWW17ksctdq0l0oJBK594TJuU4J9k3y6l\r\nB4Q8TqUvS8XqOKY1NVCNEtxeBL8k/x+fMJ44MlMQUqvRTOq0cvKYoBERNS7M\r\n/A9RfIGKh3REs37M6Pf9/xR/22R164i0UsRMlaI+TFOLDgPhobd7wPv75m74\r\nvcyq2RFFruP5dc7T3oLegdp4C4t9qTWCq+h/dqnoNozFY83ynODFTu368rOT\r\nIppF8Azee1lsg5HPKxoJz2wsRIM801DqQfvarDZ0SLRE9xMBmmdOCLRcMegQ\r\nRj3Z5aWumJ6qDTc60suOOtPhAlXCoum6pe1jAOUwkx8D2M0lD/Pa771XWtGD\r\nKwRk4pC3rPw24K/Rs5I0SsoHj2ORYuLVEnQ6plMWzhcMsF2JdZ5Pb313hsqM\r\nXr416YegYKBbl1+NiF0dJaIWbd5g0725E1ySZVk4/qAmcV5un0xgWV5YclWT\r\nYdp48Y8DFZAODip6GGbecDgxtVsCMsi1kVyImotjvDSNfSeEBR0dpun8Jthv\r\nTszxr1ZUGe3Zb+2PAfyDmB+ehjjPWAecGJl+jGXUJ9986PcC2ZjIJKoPX5el\r\nxKXV6Q+kPb6U2/xhD5kIaZZ0gENOnbl1hnI=\r\n=OD4g\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"936b6a1f165069e5d3cc5631457d03403728043d","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.936b6a1_1674521705790_0.7546906048583018","host":"s3://npm-registry-packages"}},"0.0.0-experiment.0c03276":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.0c03276","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.0c03276","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2bead0ea35462429fe2267ad51b2dca7093d3a83","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.0c03276.tgz","fileCount":244,"integrity":"sha512-mGKlqHPHctBbhhLPDxOOTtv9gq0RoMF+mXlGtl9/ms8SFeVf7lMAn6pKd2B6LSIihqRBNr3ScMVNeoDqmExa6w==","signatures":[{"sig":"MEQCIE9we7f8VYkpYS5uNxCTCuvM8vCt9bgkdV9EQQ3CaMVaAiBrAj7d4zs0hIDXljp+aoLZXSxsspnDyWoV4Y1bk6I1Gg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29540597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzy0gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIHA//eNjb6EIopRoKhuqhfAXcexYMTga3IX3qZ8Pif8lChiz4QWDH\r\nkWz/kpyDk8kuMkMPkpqjsACoi/4EK7WIcIsSR6xpOIcXx0rwPJpGcftEIZG8\r\n8QT0A64b/eVM4xY8NUU7r60QXyrh3hsOEPCD6chXblBpyyoGDirhmhJ1Ds61\r\nxaTgid1mMILvDokptvNqu7g4jIbuH8ENl/qNuk/wDo45//tBTw0TLIqtsre5\r\nmVTMK/xE3X67Or8MnarmB4b6t7q2RLNdVNInWJPwBLOgvHjjVNZyTz3ca70/\r\nNbpazuV/kAFatnuknZh/S9fW+8LIyE2sY97LRXie8gEdxAqNXsyJqXFEwswe\r\nznV41jY6sveFvqAwV0f6LTXo6xspHAtV50qNvuSHHicYOQqYju/lf1wllrDr\r\nt3jpEc/D1bc4vxhZlZxD9rpCsfiQq1+vZrCZcUHQ9X52d2lohB2DF8BB/yxb\r\n9Aw6ZZf70Me0/mUmizryyF1OqESsRxeLJrkrj3wtI4efStRPaxQF0l3zJscN\r\n0cJu1cf4C8ikb4/4hmcg4z9cSsbfcWfxfXNhzhgwWgSIVGwEpAtUBYRebYqJ\r\niWb+k5kMdywQ2qXeUhU8TmIeHTjdtSkXkE0GvwcGPvXFFo7wltjCo3tYGAzq\r\nNvFzXfIXK5Lce2/A9jeWi8EOw6jlChWuP0c=\r\n=tx98\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"0c0327695ea3b49a3cebf87ba01ec5af31987f27","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.0c03276_1674521887783_0.016596662394601003","host":"s3://npm-registry-packages"}},"0.0.0-experiment.f8ccd92":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.f8ccd92","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.f8ccd92","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b2426b5d1ec13dcc7ce5260464729b3d219fd30b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.f8ccd92.tgz","fileCount":244,"integrity":"sha512-GxLdghvVimMNnkRqKFAEFe7+I+DuCA+VQirSIqUnwBTiovhhsaSi8QmKzVWukQPW8UGNeNg7L2S2lkO5JI/URw==","signatures":[{"sig":"MEUCIDLDuTEBWphCMUzFygOGFdTHjKr6fLEp8xdqpey2oICdAiEA7mHZb57f/+I75lobJgfNR58TkzJG0XrXkUZBYaYDJAY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29542951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzzVOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpapw//dxBWdHlvYT+ZN6hFr8bZTpKz3aqPe0H6SsCp7PN9WOvuQFvB\r\nelKtOHcmQV8jg+5kRQbLfeilaze5PFYOzYrav4mZiTfB9tK9I88R0o1hCvrH\r\nuf7lc9t0/vdAh2a7lj0n4rbb8N9O/HUVvlJ813NgQR8h8yeTQhlNdf5WprKH\r\nkVsuXmbXrF9fSWJZi2ArpG949qlKsyL8EECgAzRFGX92ZzmSpb9JRxDX3028\r\ndV502YfARIbCh0cBcTFZhE39Grpamp2BtvpWv7PHFr0Ml3P8Z1UrOUIW55RD\r\nF2NuzB946V74Whcnfu8gh4uSGpq5Haz3guEdERron24WQQun0b1+g+TBOMIg\r\nyFs1A3AY6axwXnMUkjamTrkHjFL1iIxaVqPIoCL01ncKvmDmkTF6dtXx+WCQ\r\nQAk7/cgOIAosTImlba3UB3F9p+XMvY7PlCYVrC8/RFYsFk4LuXt3Y59FhfoP\r\nALagKF72BCAMwoFm0WZjNPMWVRDFjZczej96bWN9fOMgOJKXnDRFRpMH8fnK\r\nUV9kOchR97JBrWonGnhny9hGfdSlKHuwO4A41dqxzfXPuFyOiClkyOdecKQn\r\nUsJXwEK9hC1CrAiEjOgvOGobrLFl8kjx/lc3ynCE+jse1HL+O6FsQqleEuZK\r\nGO3Vaobe5Sc3Ze2g0VjIxhmAjYL8t+MILvU=\r\n=N5H1\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"f8ccd9244a44619b74a88c681d166a068d8fe2fb","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.f8ccd92_1674523982608_0.6039848384774569","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d959dc2":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d959dc2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d959dc2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"95321c794a45e38c0c8d694575ffb7321d2b2dbd","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d959dc2.tgz","fileCount":224,"integrity":"sha512-B1r0olIwd2ANok8deoAckPQYKCwpxmsmbHEV6cAsPIH7flEdnhazOjwtSG6i5GL0q2AEeNIgx9RIiycF5GqKCA==","signatures":[{"sig":"MEQCIG+FSNF6Vo2lbpq1ypwnxGbtGZOjE0xNRLkY6TaNZjYHAiA33C+KMBI98lrLozuRlRcbGqgLl8e+ibBLcArrPHMX9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27208400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz0azACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcIg/7BddyZbub3tlNg/HvtxNAAvj4kMH8WLiD94oQA0jLzZ+MFHGx\r\nG4IsY0Xux6JqEaOf5mNNpuLT/bxg73Ca9IXkxSF51X3y1xjkUaZIKPVh6Svo\r\nPjd7K3ZTMzNRSMuZPKe63S1Yf8VHhvT5VzBvTCleZEbbfouPJWLB6WbAjQ6G\r\nvAd/uWjS/+uIH7BMK0qSlMLoA3STVHGttqbGcvcqZRIQVO8PSYl6IN00ezGe\r\nwXCO9WCJ6SP2j2leNegN1DrUECyrphIlNp6gnPyRvIue6jQjp2dLftDqL9qd\r\n4Z1uhECQ5dOR3LdCm6w4kB+5guzauko4ce9hY/cAGw7jIAg3wQF0IY3jL/eY\r\nHsKBimNiaY7Vn6jAPZvth9Ypkl9NegWTTHUJjofJrUxZ59wQhMQIznX4/BmO\r\nJkb5PkQdb1pe9cwKtBzNopATUoVgp+Zh/M/ApwpX9kVnJxheLPDqeBrAB7v+\r\n/Dx1UbgtuV7EJ4L/VlDmYyrtzbkpP7EasJH/MvMpEz/Bd79lvDVpcV8gi2ub\r\naFYyBiUV4Um9686tl4GD/fxLyOTgvMorEPZd4RO6Wslfy+ZVb/puAHB0kB4m\r\nO5aleegRcKLKxhT+feRcJHxqs2frWyAOQZRnYgh4rbyfEO6gho52O1N389SJ\r\n8iqQ2PVh7mVXutrDFfXKCGZ+VwdAsFumm1I=\r\n=eeNR\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=16"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js"},"gitHead":"d959dc2885c86fba93034c4cbc09ccff74bb5478","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d959dc2_1674528434864_0.4984346694919881","host":"s3://npm-registry-packages"}},"0.0.0-experiment.04cfaee":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.04cfaee","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.04cfaee","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6047aa4c98ee7d6c78aa28219459cda09e8a5137","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.04cfaee.tgz","fileCount":239,"integrity":"sha512-Iajr8SXIw1LPsHrHz3eK/ZOUc1ZwB6xdUluK5DR0gFh0LDZUG84pb5pnb9OGhF3lgDQDgqjO8jwoXWEXCBm6dQ==","signatures":[{"sig":"MEQCID6mK5JmUI4+oOXPbWol9MjpN6JtRxZTuxbluUQHsTg8AiBM/opoDIWCk1+acXsmym3DqsWASnJ5+xTRX1SP3K0Ouw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26962625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz0cKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4qA/5AQW+YkQ23c6LyGLSnRZWCmT/JDRMBTiIYGy5QAWaZCqIsSN9\r\nOZN3rJhIO1i9Mitn2jbA8SKM62ZCXhePc7i6kprFyAwWIwVRrga9wN8z2ki9\r\nzoR8VHqj47nxnoOLLXOUI+MrVScpt9ayugnLyKldqOfEpwIS7sZTl/x/bqww\r\nqLZTH8N7kSslEduF6p7iO4aBf3CcBZ2eidmNcdyqE9npd/6agmi0T9UTWZPt\r\n0nuFw9dBMY6mmkjBNFR+SBS/pfgSXhc1yLMW1UVX0yxXujvkJbibHtfiOSEl\r\n5TrtCJGDoab3nMIf03zHqGqucCd5Vx8HGU4jYkZGGiX67X+0lq+glB8Y3yKJ\r\n+UVAOQK8iov84ASUEukcx9Pl+q0rurIqXs/Te9heowkowC3hOboKCV+Jut2m\r\nXBdZYaILStzspXVmd3Sz6XHxv40KlsYqqjhJSizfwffN8JhSqDxMYsxtMEvR\r\nGU05gLG0KGOKhUBE88NznQl99kG6mHzUWHtYiH+ftB7l2EI0m+f9curc0Gyq\r\nD5PIQMNQXb8BHT6G+SrTh/lvs2bcDywgKrDU1iNdYR3sSo8qAZ30T3UNm9Ym\r\n2syRENlAll9Cb17txN+yK4vonnounp6ClDy33I8bDprMrNmvoRGVpPtur/+3\r\nIaDBOLrvyYAONaAWBqZ0U3mQ9q7tr+B/LyM=\r\n=XUZ8\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"04cfaeece0df49e83edc891992cce12887eb4484","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.04cfaee_1674528522189_0.353066122861879","host":"s3://npm-registry-packages"}},"0.0.0-experiment.2218b01":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.2218b01","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.2218b01","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3f77733871fa5bbe47626df76228df69cda1a750","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.2218b01.tgz","fileCount":259,"integrity":"sha512-oa+XHDF9MiXAnZtTeadOBtwx+aSbxNTFAVycQi8kqNveY3IiYAKtxl4OC2jTgkKOB1nweElvvQzOeGaFkXrX8w==","signatures":[{"sig":"MEYCIQDf99jiVfc1SpWS5ZLB77PB1ZNxNZmVmZj77TX70oHF9QIhAJq1Ax+eIYu4pUQRhEuHO8uUajsiQSGbLpk3CUKT9+75","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37605648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz0dQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqKIg//bCJ2QyEjuDddHgJAcTa0U2ZjLRjHej2ZjgGWvRoThPYcabDE\r\nIu4xhd/SW42JF/Cq2GbE1bECIvGzatsGHgyrIZ3Q2OQeFh6DP4aD96fVQMzY\r\nSq4WwVM7MIZgzbA9LMPS1qk0FLAidfYfgFH4GZNHQKkMSycZOroR+NpCkzhy\r\nt5TuHgX98vF37p2OsFdLyk5Gb0d/QpQZiOKapDEz54MgtxhHo12dgRaIFW//\r\n71I2yZH7KqZQ7kHHr/dNwFsFRP/pAYWIsNSMEyMbO9QU/1n0+YN8gBKMHlk8\r\n8iIkzEsAmQJTAL4CgjcHRdtT5PVvZOWAsX5zpgXXE+3ri7zLo6Fklo2WZ+Sh\r\nOPBh72+Wwnjafgjp3QNly1cLTqk9rYMNNqvNKvo5DeTvMzN4U7iP0u8yFztb\r\nP5BuOLhaddvFYvCpO25tv/kPxvq/ekjrOA+DPFN37xbbB+YG9iqBfF7qCTqm\r\nl9Yk9LLu6u5uELObtWQQ4F/qzx+yWyi9wrHOXMD8zh/NlnsHJnayAxlzsTF/\r\nKGA/VtqN/Gf5kJnGDMNJ05+rlSyMMZz75pTq41eggQmZ6OEpaRWQbC7rtR5J\r\n6uJ5OUx+AtUJbtaHvPLMN/XRv8nt+mVpoKxmV5SPFfBazm2+87J5mYEVqJF7\r\nXj17fdnrHhcf+6c+SN97/4Ac6ZPU59PBrD4=\r\n=N82Y\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-embed-inner-card":{"import":"./embed/vouch-embed-inner-card.js","default":"./embed/vouch-embed-inner-card.js","require":"./embed/vouch-embed-inner-card.cjs"},"./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/vouch-embed-inner-jumbo":{"import":"./embed/vouch-embed-inner-jumbo.js","default":"./embed/vouch-embed-inner-jumbo.js","require":"./embed/vouch-embed-inner-jumbo.cjs"},"./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedInnerCard.svelte":"./embed/VouchEmbedInnerCard.svelte","./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./embed/vouch-embed-inner-dialogue":{"import":"./embed/vouch-embed-inner-dialogue.js","default":"./embed/vouch-embed-inner-dialogue.js","require":"./embed/vouch-embed-inner-dialogue.cjs"},"./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchEmbedInnerJumbo.svelte":"./embed/VouchEmbedInnerJumbo.svelte","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./embed/VouchEmbedInnerDialogue.svelte":"./embed/VouchEmbedInnerDialogue.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"2218b018d79f6eb04ca9451eb33f7d1de06d9d46","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.2218b01_1674528592508_0.8627321624601341","host":"s3://npm-registry-packages"}},"0.0.0-experiment.c9e846e":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.c9e846e","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.c9e846e","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6e9a02b040c7714a5f07c3a36be4274306cffa6c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.c9e846e.tgz","fileCount":259,"integrity":"sha512-qK3VfB66cHhxA9oFmd7JRfcsextnARhWyasVoeomuEJYakUlMHNv1BdzhZL8tI1SKSEzKOqgv8IPPIkvY97JzQ==","signatures":[{"sig":"MEYCIQCHtq3q12uQpTvTRgtav0NZbHmq5Y9GnNHAOf0Enuk6zAIhAKGbP0GnpPMJxQSnB9VEgVAGUb6uFJGyJWnqrpHrILNZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37579237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz2DfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjzRAAkZ151JqRkwa0w+BsRuYIj+g2ToIVjRfzgOfVux6aS5AF0X4O\r\n4a6DK0IVJnTxsaybDNX6/exfl2zCa0L84LjZQpgZ3OL4BVbBxoP4eU2ZOYoy\r\nKuMrmZK3l9TsqcRAxlZzvlrbwbxr6qcky+FxIGu+Chz+dQmDXg1wKHbwJE34\r\nTefwFfhKu+XrceEvvZrb1fokt8rurvbnL8DooORI3+UR52H+8eTrzYArE4MO\r\nHxvsJbV8aJ1LPzJOEacGWoj7Pietx6zbtb73Jnt5BmRt16L0FOwMmqdpuPHk\r\nZoU9dvKqkwEsIaZE+rnMc45R6TLv5arwOo6CEIwadGuVinZbfSQz51Mxe9vU\r\nr1QFvwTnZpZol6sQZnaiSBJPe6fTtCCgHm1N1moJWbmoi5iSWutnogqN+4Hz\r\ng3zJ4Gts90r3HaZlGAShxME2AYMdhmU844eeh5j6hPbatiFATV5/oO6AhPvA\r\niNYu387rUjleu1a8JGidzp9wsO7On6UtaiJlgCfqtNsnWNHmakmsbshfYxfw\r\nxwHudEJdSRMXBpbHZDQ32DgdBFcx7bcPPHqyQGRuWNiwiYV4Z05bSGXEb9f+\r\n3tRQAMgw80dM97OtMxJ0lyyRz3/DPAPc/fRK6zngQrs4OYh+rfBjP/pk+3sV\r\nJN7CQJQKDk0VxDazKGaV9fSlSDBCn/hjVD0=\r\n=Mjl+\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-embed-inner-card":{"import":"./embed/vouch-embed-inner-card.js","default":"./embed/vouch-embed-inner-card.js","require":"./embed/vouch-embed-inner-card.cjs"},"./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./embed/vouch-embed-inner-jumbo":{"import":"./embed/vouch-embed-inner-jumbo.js","default":"./embed/vouch-embed-inner-jumbo.js","require":"./embed/vouch-embed-inner-jumbo.cjs"},"./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedInnerCard.svelte":"./embed/VouchEmbedInnerCard.svelte","./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./embed/vouch-embed-inner-dialogue":{"import":"./embed/vouch-embed-inner-dialogue.js","default":"./embed/vouch-embed-inner-dialogue.js","require":"./embed/vouch-embed-inner-dialogue.cjs"},"./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchEmbedInnerJumbo.svelte":"./embed/VouchEmbedInnerJumbo.svelte","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./embed/VouchEmbedInnerDialogue.svelte":"./embed/VouchEmbedInnerDialogue.svelte","./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./embed/vouch-embed-inner-inline-player":{"import":"./embed/vouch-embed-inner-inline-player.js","default":"./embed/vouch-embed-inner-inline-player.js","require":"./embed/vouch-embed-inner-inline-player.cjs"},"./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./embed/VouchEmbedInnerInlinePlayer.svelte":"./embed/VouchEmbedInnerInlinePlayer.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"c9e846ec00995f2b4b0f7620e0903984f5525266","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.c9e846e_1674535135298_0.8415131745974949","host":"s3://npm-registry-packages"}},"0.0.0-experiment.78607bc":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.78607bc","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.78607bc","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c483263976e6174c4ff153be9cef51b8387328e8","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.78607bc.tgz","fileCount":239,"integrity":"sha512-jbqJTxHNgB5ZHbZZEFglFLF4k16BTrpkqcw9CHemiZaoEm73RXxVdC1DFAQo4/kacg2LR613LyXWYp7EoPbiBA==","signatures":[{"sig":"MEUCIH3VSD07nZmsSIEsusnTkuBaAPWuXl/rp2V3F6MAh9sJAiEA4pKZE2yS9e64aJ+KY5npYhb6W2FUvInDiNZkCtXX+pM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26949504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz3sOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqx8g/7Bbxm8fCya+znCy8/ictz/5STRXC9QOTLWIw4MCOpml/SDkNt\r\nwvj+1r4G7auLGn54PmaqsY87VrS/1sA9pumKqEYxz7YDjd7iOCQcMLnqJbH8\r\np4jsT2MeEi2dz1+67u+hSI+kgXyNNuemEsNVrRimx7QSN4Uk2GO4X0D3+nzF\r\nWWUY1f82zPyZr/nxngKoRjWLKhXgVuHxen4LRfhM10CUK41uQvjzA0WOQ3IP\r\nfTlkRYjzdVnz4ptsbhDCt2qUyL1N3Du6b14cEfbK2DbqBOw8bQquoWu21hCd\r\nILiFvwMnUhYcYIIDYr9wQAkCPV07ob3biHXRPXG1pAz/5jDAbwWWEZPgMIzq\r\nNhG3hUxuJyXVBVqVZOCkzi/I+kSGCGfiTrGEVycClk/PpPugd+GvENYWhOG4\r\nvWFb5af/iSh6dCF7qbJQ0db5tOTLBZ/MIjMJ+HyJWRt1pQRx7gYAzWH6KokL\r\nEdNSeuarG26Z0ogdOuI4TU8I5DQbK8NkeUOSgkQjRj/9uhqFdg3WsvPNeJnL\r\na+dMQotvYIKoaBdpXDM6KzZDiJNEJ9aWOEd9uVQY0GCRLJN3w5ko+ZkunWPf\r\nJp88b2zrpgKxc0ozmtv6YHtKeBu/WoIWOQ81wVv36biDdp2gKUgDwXKC3cW8\r\nO54+J3eSakqFmriw3UOsKA3kdeixaIN7FQM=\r\n=Mpi/\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"78607bc6414448849d1e7c3f661f489821d419b6","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.78607bc_1674541838007_0.8988997459242505","host":"s3://npm-registry-packages"}},"0.0.0-experiment.ea70f57":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.ea70f57","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.ea70f57","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"9407317d4468ad6019e8ea32343d74cbe0339d5e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.ea70f57.tgz","fileCount":239,"integrity":"sha512-Vx7yoSwN8/qtOwJ2127QLHUhOgFo8twGrDhlXX7vVBWP59FDVwYWZOH67q0/lKdrfltd+qug7ulO/PI8nXgClQ==","signatures":[{"sig":"MEYCIQC3jBdoMqmrZ7Ria5oeM8o6JTPpRLjLH9QfjGtFdbZCsgIhAI/sRj9iPC4rRx7500CXOks9MaLnvrsOLSBJegm2qqUy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26961776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz4LSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGxA//dNAY6hLmMLE/3U97ih9klD4UVq86HhbeWjSdpk5Su2E01fOI\r\nGpMudGKHpzl0XEnHyhf1YbddBCtwc9PNmkm9YoZgJuhJZBrdxGCwUpX48hEt\r\n8ypeejKO4qzlSdDPIfYUQntelTjG5XHiq9I98hZCPcWud4APwgHP/pyszi9Z\r\ndLdpBa0XcWPFMm06OP8Ocjzd3Zu6ilWb8oTGlhSEPfxktATFWmXZo64U+B5P\r\n0xFohPMaxA6cNpgWfTFTHevkWMTIisR0oBJPUE0Ssc51OT5lzc3qtoEsu7H2\r\nR8q4EWJqYDtXxJTJPH++1VL+gkvbgc1gNeL4IbQT8ZUxug3753IMSfrg/ffi\r\noK021SzTmGPvpuSuoa3IcJOPP93tGoIvgkFS9k6d3ui6i/HdMyEs88v2Ukwc\r\nadKL6YkX6uJwEQrh1wpmCpJpbr901Yol0gyHEWbYV0vec8ECqR5b0TXKQPiI\r\nQi7qKBpAH1e5u6x08V3PIM27wPCvmxG8W0clLFBXu6mbBCKMJw1vdhBZcjNQ\r\n6Jq24QDEFFW+t5IjH1PE4Ar7AnVgQCGPipp5ymrGtqyJP4bG0F6U5AlheB9g\r\nq6TvfgYb8aNxAwFU/VZpbfTD3F/TOFULuGK/CngPe2Z7FR8wq9VDGvgnl6Iq\r\no7iKT16tir8bW4Rr+q7HQdHN/A8a0NFsNE4=\r\n=S1zc\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ea70f57a7992496a3df1efe2d22181b6bdacbb8a","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.ea70f57_1674543826219_0.3584828590406799","host":"s3://npm-registry-packages"}},"0.0.0-experiment.532833a":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.532833a","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.532833a","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"47bce23d595952d61ac8095a176179633f7eeb41","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.532833a.tgz","fileCount":239,"integrity":"sha512-ECnHacpWzWY1CHBLiBvx69/c0Ejbaz4VRYXjqxQTe9EM1gv5OEivjm9aKjjN5XLV0l1m3/fbk6QF6EV0/0k+/A==","signatures":[{"sig":"MEQCIDy7gt9l31auCOVGddKFamSF85ri6QSUz6l7Ph6Hhgg5AiA1HxRsXRxBmJzAI1F3lkDdOtKXuoCoeY8xsWehzRh61A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26959902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz7UoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptHQ/+MlFntoRcZZtR8CLtBNpvGT2yQB38WTp43OIkk3JtocgcoS7P\r\nbhwIYNgngS+lItxHj2/LwozWebbaEd+A02m+kA/1s09mDsP93+rIoXkl6+3H\r\n0fkWAeOhd4ZoQdWxsgK7+28rK+7Qpv+fR0wJu7Ue5tZpcc4+JZyzfo4ZyRW3\r\nQqU0bWdMJXMhQMNB0Jo/kGFsIJLTPkkU1dHSuz9xPJZiO125dbIX3qPQj9FY\r\niJc4nykVpQpN2RZSIejKw00oBbTXIsXV+H3VMRlZV0uTNofovIpkehv22vCN\r\n/ooM2QN98UosDyKb406qLzhWr44bHjrySyjshSvdGaonlg944t/kqfvRt+up\r\nXRBU04FbofWiv6B3ft3xYPYkbxPaRrpmSPtVnitvWAggHdBtq7hIdyQJr466\r\nYzJdfmXNosFvx9H/+5BlKCromfL8T/BJE6asGsSWyrQZyLSQY76zqe8Qz9nO\r\n1Rn7LJmfK1iJM3C9dh3sDN/3sjBDZ6JlAHKCvOvjcByHQSHr3bm2LVBoAFIS\r\nPzaffI13Ts0n4Jhc/DnhH41rZx+GEOJxGLKPhQIiBYimdwOXX5xmRypfcghf\r\nXVoljL+VAKoMvu6aDYaFPOLrqkWRjsvRTebm9kdAduTSgNO8xpUm7e9qp1tc\r\nY6M6OgPpxv+UT3c5lbiRm7GEir9wN/9UqR8=\r\n=whX8\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"532833a5ba02a54ff56ff8c56604623943d3b481","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.532833a_1674556712030_0.7945909911584788","host":"s3://npm-registry-packages"}},"0.0.0-experiment.bf25d19":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.bf25d19","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.bf25d19","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"041c3a9e5b6ddebc97ed98da9bd35a094e6036bc","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.bf25d19.tgz","fileCount":239,"integrity":"sha512-dVVorUDtqlQXM4FNWKOVMaE3PSNBImVQjVU2BJGG46U31zt0EB6BFRkrUXYsIU68OUMDodGoMgyUq/mg15ohOA==","signatures":[{"sig":"MEYCIQDBL5XmDghULHdugi/0Ue4uFYpT0zGqj1+dMjpi9EuXnAIhAJpYOj4Owk7VKVrVhI+hVU+U3BQyGTbzCY6oGAVqqq2P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26958811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz86BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPzQ//XH4zVjB8d5iMHbSIMeuOgh5O5C0wo6pxBtSryioqF1lMV/83\r\nMOEsflSnwg6Pc2PG20s/zRsyC7KTji+biF3EAjfABvj4icmeaKKWpC/5MPds\r\nygLRDpvNXGMQHYNqMxCAp8GIWbRPm9Uptu7dBCMa/CBBr6ShNSF1FiU6d+uS\r\nXzjMJBcVSH/DQlEb7Q9uXx9TUPVROKvxcwHTN10rYvj+bXSlPdO6TSG5XjN8\r\nYmsLB6cvoJbY3FJYW2fRRi0Jwre59LnhrloPiIEp4uWTyDn0ZaE0hOCuNp/C\r\nvNiizlsu9+eKw3Jy0tu+1hjhpyN2R/XwTz4/o996e8cRZomGtHbsTnB1zDay\r\nmB3kMDoS914BPkZpkAwJj75I4f9i5qYBaZjVDAtf2dSGF6XoFQAzAZiDvGHU\r\n9shEorqVjrAzLuSCu20W2hQm7TZZQsadlktfMdetYmoq3WfLG5Qk6jRwcZp2\r\nxVEVIOFYBcoulwZjZp2NsiRPeylg2F1vtwcCa4gQnPFDuxYNyT6PojvD1OMT\r\nZS8w2413YWZIj97bbdiAsoYmiqTJrp/gmK0RzbCfcW9dWxxE9YCYlLOljj5j\r\nG5wsC9sr6opn4ej05o7czxDraeZcRvLm5/+hSGsm24L9y+jzwITVg85dCYsu\r\nVedlScrU1BrRlGArMx1RqS/jG+s1DO+vF50=\r\n=kUz9\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"bf25d19b81017ad0e6ab41ea6d6afc25ad5a563b","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.bf25d19_1674563201507_0.40835430512291304","host":"s3://npm-registry-packages"}},"0.0.0-experiment.22e28b1":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.22e28b1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.22e28b1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8c43807c07026af6a25f8f97e6b6658210da8cc2","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.22e28b1.tgz","fileCount":239,"integrity":"sha512-QOsfLNPPUyzbAyZCcdO+LcLqEJLm1JLt/6f5dJdfYVbeCPI0WGfTEmllIw2o4Nl4C/NHxQxQc6wRJY6rcUkjvg==","signatures":[{"sig":"MEUCIQD7TSHz0fw46R1fVAd9bNIzdpmeCPd6aoieKI4b+AdHrQIga7bRGDa6UfrF+WiG9aqgMbaSLi77KzR3aV2urEyOGFo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27012520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0HnqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8Ig//YyoD96PPKk07McJ//n/sfYZcIm1Vnz8jrjH/A8QZqfvROvg3\r\nL8pFG/6V8Rzno/Ue0F96inZHUumnSVOL1MVX1Oo/Vj2MTZqCyzCVYBUhUiVf\r\nDOGP6WNiDG9VYeXeZWqZHRUV23u4Ok6WpiYUsmInayET1kIQPxdCwLUSIWe5\r\nQdQXgx9+gnxUEP2vSSFEP/+RBJqk7GEHT0DD3GJTHzTuKUZi46Ne8ZR47EDK\r\nFw4JKdLxPkzbsY21vbSWbKN/GkHvZKC9ubgAMEwV4UPNRwSihxJVtXliiOvd\r\nq9ZhFz1ygJhQkVgPwjUNB6gWnSXZ7NvytPIB/c9FML6d1TstlnB8qRBllZH4\r\nvIYhg4Q+EmMgUaxgdllFEyDvEAv+QQ7o+NNfVwbTmn2DfKseB7iats3DcKTK\r\nCgGNOPrJFCljpQLyPUqQs+6MyOhxtLEQNX+ta6h52ZWD/q+qXnS5+T0qxiud\r\nqOztPXAsH3RnJC02hBkYHs8oU+JSXgMzrvPVRscawXhMmsFr+BZN4YLzrTCW\r\njYpQkXO+FGwZa4Cb1yKoHgbc6ukDqKhmmUsRmGAjIQK7jFDJ2rI5Kfh+zPz5\r\nHmY6WlySZXFhNyj9cuHdbiEuUmrYr1dUEXYKHZWyM+g9yyzUUXSyOppzLIPl\r\nbDfejcgeRFXmqXLIgcZssjTWB0QHCQjMexU=\r\n=q0D1\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"22e28b11256f3d426aaa2c796e55df04ea8b3955","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.22e28b1_1674607081901_0.8130261987035461","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6f1f9c6":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6f1f9c6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6f1f9c6","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7c2efb329a2806f391eaf6a0e8c3d923a41212f8","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6f1f9c6.tgz","fileCount":239,"integrity":"sha512-lXIDP7JjLHbAgDJSr9X/OkDuwghkSSDfxW13s6yNRuWicNDKHB2Y6XUPUVOtPwdykkOGHQilWx/OtnTWpAqmpQ==","signatures":[{"sig":"MEYCIQCNMcgWNmAMkQv+Yr1ydYQcRr8NlfEFTBPUgDLiLE+wiwIhAOVvdYsm2MQt99on5amWYLIG151xJX7mh0vM0lgVZ5uq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27021873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0HvZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRdg//bhUuYww5Fd9CFqgz0r4Y+YVr1RLEj2MXPBRIjUey5BtJy/HF\r\ni9bF38VcJ7cJ4PKvOoVFUJQwL0vL+Mb+9N+FkCSuROXrTXlG3bFYA3+RKPqP\r\nrvXIPfOOFnol/wFcPOCvPgtOKCbGLCcTixkd5FyrtGh4fEDWW2kbMvZquhdq\r\n6XB7inBJNJaRzMEdk7czEuigS35eaQ2OcFnPeKlsWfPjgXO+KXskYOdSot99\r\n9KTp/KJx8OMaBZ0iz77TiBRHY4GXgElL+Rtvw4FQcZk66PUcVXopgRQTi32r\r\nmusiIisXq4eYxEp0N4lSwJq8ZO4CGfiPclEj8j6e2umzLVcs0lpMxnn2Bgpj\r\ny9t2uQRSmyVvmlcgQvYX5ogRm2eEp9bOUpXJ0SWPB9vvEnh+m2VWLa2rUkIK\r\nKc8KXxNu7VgqVLhaPOyXjwEf4eQNnp6UO5IixP6apSNZRhl+sZXNNK0ORXiM\r\nSwv71YugkcpbjoDcr1jjjSSzyHDVDnhgl0m1Jx7wfSVh6Zu4nKm6R4p42JwG\r\nQAy9r3MMwSbCfl5trfTVcV2yEH6KKEsn7OB2YSmHAl2t4EuFbtqof/nFh4TE\r\nx6lTDvCoU/QH8tC9GVxs1dvdrCcgltyPcRvobBc4kRUtDCbfC2mlDUoOLrP8\r\nCFNgoW/kKrALb5+GDLPcxU7o36ML+FFC1/g=\r\n=p28K\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"6f1f9c6679b96a63af03de2702b9cc65aeaa0b78","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6f1f9c6_1674607577265_0.7229459780244518","host":"s3://npm-registry-packages"}},"0.0.0-experiment.4257f8d":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.4257f8d","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.4257f8d","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ea9aed7a5d1a2c87a3e951e8bebc63367027f8fe","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.4257f8d.tgz","fileCount":239,"integrity":"sha512-l5NSn+R8zQajKK59wovy9MXxTbzSLwDkf/muhzzKiM8B+Tie1J0CotlhUGy4nAP2H5R6k9hXuvVtZ8+fyuIewA==","signatures":[{"sig":"MEYCIQC39RUgA5COI45jZPZngak/yhrjQl3kvsAUGHH0pZhAHAIhAKodxuqsDU7BFiwk5k/02L9QuYimXMFBCqiWoPzny6Bf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27005077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0IlXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4Pw/7BPoNV5rYViTpAduVddsa5IpUZYBQIKPzDsz2oVu6ufKnnLmH\r\nXlIvatJuFk0GDVQ4FuN7ED/nS01gzK5LbtQsPfdj+/3v6afzl1LcfZ9S2hBQ\r\n8Q7bWZTgTsM+B0G487WxIhzJ0eyk1uEdUMalpD8CZhXWGB+ZtwvX5A0q53Y4\r\n7uAF3U3C6o4keK3wm6/IBhkE26nbo7asmTBkYq3nCRzFYJbdhM+GrTLhLzQ9\r\ngu/wIVgDifpVTGfPtq2QDGrbgT9Ktq5XL10kn5LM8II+iKE3/rflY3vwvmI8\r\nq0cS5Zp4ekabZZGepVvQ2fRyfatcCBculSvYwHEdWU+6IJnrgjWwiDmfVG7P\r\n4C4sFW+TKnq6wNTCb7tNc5crdgAXhngIwAfaYLzV1nTOAkVpj7a6FTvas6iG\r\nPRfP7paaLy1XJwIfCVtWsKdtBNxw2FAmmMui/uJLLSFWAztF8i2gnFL/gqEx\r\nod63A3C0g9X9MPtdNvQEkkG4/klbxx2uxS3hRIXOK41naA5kR2E4O7H2GC8y\r\n1ba2LXaTT1g1MzeJVvBYGFBkLZr1jS8dUhzVX1FYALI+QBndufIxtMJqm3+I\r\n7AHJdguhKiSlP9nK6riafeZ1YESeKpDPd/g0MbQRgNrRwhlYcpWW/P6y3x9E\r\nNgPOTVUgY/VkGmZWut6EKkgEBpC3CP3bh44=\r\n=jCPV\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"4257f8d4445cb802aaf018699c61385624a3dfcf","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.4257f8d_1674611030543_0.26488856757747214","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d085edb":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d085edb","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d085edb","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ae99885ca8fc3db4ccd9f296fac52c176fb7f8ac","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d085edb.tgz","fileCount":239,"integrity":"sha512-TJ6TuD844glIW6T+W4/6zRSdTs/vJ7XJka3PHqOCok/iXik8WumI1WhC4mGLsZ4zBEBQhRypUXw1M75WaKR2Sg==","signatures":[{"sig":"MEUCIH0U6GvIB65g3Xd3ZRtrFFQJS/GZ9T3v+WezmPeL/Ac0AiEAxSO56EEBQ2n63HbM1bfmTWmubdGAuAbQpWPRzHHY/o8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27001244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0I6vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqyDA/+Mn6TVRFP++FZilQUkyuCWiHOB/lwbkvEQcHLGK8yCx2nlE5W\r\nRPsyzuDhpZNF/ssg4aORYFaBGtsgPyWRmLiUk5LG4D8rv7A1PNeWCs8DXJFR\r\nU6aiFVEwV9XrvjCgkny/lRXJneNKfxS/nYMxfniXSdDeTNn9dceIV+oGQQQb\r\n+GBnM7YGDZdLTXB5Rg4wzTp0iyt318IowU2aHhvEHy68b+rk9T5pamBNmeKJ\r\nE3m6iYD3z8mdwoiAOs+Nsiz+KgAvoqVL6c+xlTqplPfxPM3j0+RRtF/u4wIk\r\nyG0TV4+qSWxMeWlHBNlDpWeAKouaP0GuzDS0A9cPFNcng/ZSPgBUHdwmz/TN\r\nbHMp0uIcisZdnIfCVUrhf536RHJGBjzlKSdlWleRFPnfsb/9kjZuLY/ZJITm\r\nZ8c8XNYNKpY8i/J1Us7OoN4FjZ/sp5SWwDKTbthmeYcrXYO9te5Ca3cUF9Yj\r\nMKfB9tL8bePK94W4dm/iYcAToIgaPVATdFvsaQQ9zxUNqZ+6dWWbo1uZXa1e\r\n7wpx1Kcf+wbwrZqYF6q4vkJrYIs6f+MxTkp1VZxZ7r+C7seh9Bsrh7atLUhi\r\n5pJvN8/dw0LOWVszZlmRiuSLriE1uuV/pf2bgSGmzY+l5CurJ5oRqijKIyaE\r\n9Nc0AsLs0rUwIHJFdnrqN6YOiKGc119LPZA=\r\n=Lds0\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"d085edb845c1095925df2253e24ce08b8d111546","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d085edb_1674612399373_0.48817692596371787","host":"s3://npm-registry-packages"}},"0.0.0-experiment.49b042a":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.49b042a","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.49b042a","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"947c4beb72aaedf126bb53656afd8870a28b35e9","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.49b042a.tgz","fileCount":239,"integrity":"sha512-biRaleTOSIAQfp7LiAmLuiGcier7Sd33DNuu0ig2j1t53nvuu+g3uyZZiLRXuOHgPYnl9n9BIkMAqi+l4mvTeQ==","signatures":[{"sig":"MEQCIG3fibPGD4Sk2utEt3ZIRen7IafBvX5fkpAE2VNHf1TvAiBcP0qnG5w9/Ba7gipNhvBSr/Kgwftx6od1eAuDQOl0AQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27001330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0JfHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+Sw//ZOWa/d3t8DFa8xe++1W4LMWpXkXpnoD/opzB82yIu14V4Z7z\r\nZH8/57yIXMv9XYf41wlh1uDSvzSKFt6iKfEM+NFMbeXvRfbq13ledWLwQFLg\r\nG/fHhkrM8uK6FODBk8JdEi0Gkfjy8qYQzXSwFVVo3/rXl4fSWItqM0HhLywc\r\np8mQOxwNf8fq3pLKLX04vqHChU+jIUDNEqDGSljVTpp33qFRS2itL2Hrp+Ub\r\ncOAyXFetv+zNAUtwJlQ7A3u0tMxriRecBMBAV6nco/NBoTXnM8Ao0kdiu5K9\r\n0CE9YojD4SsOqpYnqhILowW967SeSr8aOSHDfj1Ezk2YB8IKEX2VuS52Tl6U\r\nxTJNFJ8Vy9AJsSsybzsJNiD5XyhbWetmrH+5269onWzyFxAPDVQg1o/Lf5C4\r\nrZPgrcqzDsrYuEiQJyKgKNcke94I70A9w1arKMIcJ+dhesvXHHYDDXrsE1yJ\r\naQj1ojnOdUtu6HQbhrm51KrXaKEBsJ2lY8JfWu9CnfuKvTiX3jXXw0MEn35H\r\ndVjpj10Imz+2DrzvTaqmj4MZBAc4D5PqsRBTwjmtCKLINSNIedN6+nRAE+Tg\r\nBsjh5pyTUfp84NHsKh1K3HEYMc1fmVX0J0B5Tu3avbZ+lFQz6mp09Y0DEMRQ\r\n0vVv7VKm8mAUOaBzs4kRYZ0jGaPke8PGank=\r\n=eoYb\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"49b042a5c102bd0f3020e02642c44c14fa8dee46","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.49b042a_1674614727333_0.5985035655917457","host":"s3://npm-registry-packages"}},"7.0.0":{"name":"@vouchfor/uikit","version":"7.0.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.0.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b47e87cfbb0ff85a1cb0232ba9fe0e606bc3342f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.0.0.tgz","fileCount":239,"integrity":"sha512-KmjxN79LMenc/Qhq+jq2/GdUjXwaMp77v7CSFMRHb3btdQw7IByjZKj+65rNJTZaYolNnEYMI/bZhjKkjXh2SQ==","signatures":[{"sig":"MEYCIQC0PmTUVOw9aLD9d9C+gneD6zeV8+1JnVNcm/GssMt90wIhANdKqCdQBEKjONk8TV/wGYrEjEmnmLHKNvaHm5rRNos/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27001311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0Kl8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo08w//fv4Kkg+vzhiDM/u28R+GY2Ad9gS2sTLE3XFd1m4qrorBCgui\r\nYd72qSJOeI0FJcI/KBrw/IKE3z4eTwnQuqrj9YDuF0Rnn2PsGic87Z7hiNcC\r\n+uqA5edem2TVWW/mSGR9r2XtYiGWdfpYvbpi7CXNBTxasB14Ho/a+B18LPEU\r\n+J/7EDqwPgec1aIDkruAH+JIG5h80OsQTJRqvfs6tPdTj3MDCazNM86Fnfa/\r\nhc4ghla3IK69BMCf3r96xVoa9miHjQJPV834MQhmnutMgidM9g6CUeTgjySl\r\nUcJy/4tpiN7/qpR57jSNFnu3p0P+On5tn3l8kz3kkwiVlIcXad7WzqJdMCcb\r\nnTBCIfVCKWpT84IV6Clus4F4FME18b7AicF7yxZ8oIXa0T3VI7gUmsZigdMc\r\nekseYVcmv96bIrqXM9ZBFwdwbyc/zCZsI4U/eQkeNdhRk6jjoA8rZi3OVumy\r\n0ILckKhYRU/3+MGX25pFBsyIfsdI+WGx0fytaWKak8VPy2mIwUH4Alr5foqp\r\nUE13wyhAj4+weS+Y2rszfObjUvAnrkmUQre78/1s/4ZjtuAyu5WXYwNUFCSG\r\nXRFyH+mqNIxPrlZI4UNQdUwVJDtYWU/hAntNo4BIIwrcx5IFP+QaU0aSQsxc\r\nP9Dj28NG9u/kPlRr3+0GXDzHjXS9dOiT4aA=\r\n=14XY\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"93955d4d20a1bb8d876f2b223feec835ed93543a","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.0.0_1674619260345_0.9465819417694612","host":"s3://npm-registry-packages"}},"0.0.0-experiment.fc2bc89":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.fc2bc89","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.fc2bc89","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"cef0893225b7988eea219cbf8b657f7a81a003dc","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.fc2bc89.tgz","fileCount":239,"integrity":"sha512-9oLr+jQq3Vtw8W2qNW+rvRnW5woX79ANtoYgAp1Go9HmkynSmaonCNNQ4pH2an0knifTqq0CtdjzaqoeM40IJw==","signatures":[{"sig":"MEQCIFM+NE88cYDW46Rq8smZv7wCXo2f5ku5ZXbNmiRlrgnLAiAroq/xv36hg47KKTA/zC6DSr4aH5pHxAOEv7v3oZBbmw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27004988,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0wzEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpw5A//dwiuXdlalM/ep35gQdHrQXz28fR0ApCTZRLdykfcTeAD3ypI\r\nJy9ItWJmSX6sjjF7BoPvSEbR1D77AmTU2wRNePQBN82n1+bcN8E/FYZuinBT\r\nP7IG5Vpi64mOxbaY22POdZw0i0Y6EZ1kVgjVnY7lwjWllYsnreOsSta8RndP\r\nPDH61n0tQjaPGnLZZePt9662u/5LqHxW8YuokH2UDOA+hFhlv8+zF7K6HFzV\r\ndungNMq+8CuolPM2VjSF4tEDiUapce6/UuPOYSSQ+4aObU3EzAn6PxmDlMbV\r\nzZvtp4AvnJd3avAclY7AjpdVzkJhvuYUoVW2h1VRijJ2EsxQu51bZ2UVc/qS\r\nsmjoLdS3URqFXaJmbFvnJWDvGgXvN2DB1eZXJrUrnX0faSS9SVn1zH+BWkOO\r\nSFuFWoZ89dMCPakvM8fjD1NR7FcXvMmio9drLOUaV5tzC/hQF9czp76crdjr\r\nZbYLJiCLBpkZlPqlhM+vJoxCQePzrsfrLu9SJ9Nt9JQRveGyyNUBx7q8ZhEJ\r\nAECXKSHEWBv6TDasr3PMs2PCc0DU+Q3vJuN+6IroNOabyMO6TDL8lR9rDKCp\r\nDw2pXz6FORWW47/FVIYElS06nXRTiW0GOJ6hN5Zf3se03EfxwcvbkOq+A8OA\r\nyymApfHCNDZesaepsGjzk13uZgqHwdkAxis=\r\n=pFAC\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"fc2bc8928f337c0c66cff6678e2d29d28a44e40e","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.fc2bc89_1674775747875_0.7710409477203222","host":"s3://npm-registry-packages"}},"0.0.0-experiment.547b4d8":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.547b4d8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.547b4d8","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ed66262c8c598ef671677a68571417e305a78136","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.547b4d8.tgz","fileCount":239,"integrity":"sha512-cinYOAFDx6H/68tWg5SolPsTTMqE8myJ0QVZHG3XE3BaNw1ihHT4lTr+mu1wzs93G9nwvPvqDAY+LkyG0LAPwA==","signatures":[{"sig":"MEYCIQCmuHv6W3/FtAUyTYfKUyvOc7i9xGrilmQWK9GVmlGMyQIhAJDi7zbQ4yURGceOSH7cMmTgeuiQIlGbHPm2Cozwm9nm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27006772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0w9aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEpw/5ARpBl3hUQpDiStVcPe7R/OhqlxG++0EOkgWGS4nKQUA4Uuce\r\nhVrjk6wcWpNHTR1jTsUaUJ1fs6GWGc/xGd4283rPNXKt58uu1yUnhvvy2RUy\r\nsy0NiodMfs4yiDwwluPDWVgdM+p0BoFRYXmLl601Coz8wVhMKGexZ0P5NnYq\r\nF8V9LGquSLc59AFZgK3UbwlSTQWQQar8B+TE5iNIAuwEw3MepJ8PYQjc7inX\r\nBFKKtXfdJKyNpJl0PSHfBYoaNzYiJyVRj+fM0Ha8WEfMhoQDff/sNcdP14pc\r\nidQF9lTv9i4mqxfmXsih+0XTrbD+iYBM4WnLdgl2qzO6676JxRSO3o4X1VQd\r\nz8KeF0B36wTVzHLM6QS6cmRDhthvpNl8+kcaIkg6p1WMPX+VYVGfw3atom3B\r\nQMw4Jdd2n8kNNViKWcG0fu+kLi9bSxsDpd+H52cipmzi9IH4q5V6UT0jmbXT\r\nBIXe7rJ6tmgne3oi3DKVbWpzI+hM31IHGq47o0qid/ijuLa7ABkwTVFpdCtd\r\njL3a+TeQsraC25qbMjXNzqH5QAJOT4fgYkINUZutN6GqiJUaSdkFIhkjAX1O\r\nYrrjRLLMHNeMQIr08JTXpdwVLw1sh7w47opcYHt87p+S84uRWtcieGYBLKLp\r\naJ8l63+FJ45UbT69/FIM0YRY+HDD0deT7aw=\r\n=foeL\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"547b4d80afb30e7a6b9f784ba45090e9e8f869b0","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.547b4d8_1674776410162_0.3794767130251311","host":"s3://npm-registry-packages"}},"0.0.0-experiment.0a805b8":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.0a805b8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.0a805b8","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d568d5dc4c9d5d5f09b64808dcf85440a0e28e66","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.0a805b8.tgz","fileCount":239,"integrity":"sha512-FXcMkadw8oQ+ZiLltlq24z/xYdMkiFWU2MbtN72C7prQZAQdFselKsGeR8F1P/qRLMB9IsLam9Fqp8+nZtSSZQ==","signatures":[{"sig":"MEYCIQD1E+c60txIp6ImNjwDC5dy77MSldvnvxVB5NtOskGE7QIhANDP+A4aDGVG6dSWVMhgZDhV6tZim/5zq6LPFtLcSTuD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27007485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0xRIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp72xAAgxi8sO20OC+ZMhtWkN25Nu3dQbz50XSFXI1lGto12ln16pgT\r\nw4+D8iD2y3gf8KxZHds+Sud75CeSCEayiXk6m0ZqlVXt3i/HnmQh4c8kynHp\r\nB2e64mUv5/AQjzgp05EB3IZniGAnC+RwUYWfggVHe32uMBeeKUMjqBkXC+x4\r\n0iIQoc6Qq8f61vU5V8DQltFY2paIJKDaOK6Q5BFf3IAagS5pLNYJUbzSPJFq\r\npdYem++6jCTTmpbtJjOa1fI86mXEQ1D3SUPfHOxyiHDig2PWylT3aIy4Z7JP\r\nVK9hFW3wdWfxFKnUBxOfyfhk0WirIjowqg+WfiLsUXlLPHvOQJj93k/ppElU\r\nXf3B0vZJaP9uKbSiIVgeAFQuquuE8wZ6w2AtNLNOtPzi3PjQMEMjpgMYmFwd\r\n4eOqxSRiWApq5eTGDcVeJPFr0NmmUOnogTlPeaiGpdL4do/2ILfPlOQt2nK0\r\n74SCLykOZGXkDU8veYNkizQoxFlGGyqaULGuNp+RnMvpkIQ5kduUmU/jkO/m\r\nqgpKWzbEtHNBM3LWxV/8FVHMBeCB2zVP8eUvLLbWoe7kREARLvPrMC0QuZ0a\r\nGhIO7iagyx9UrgajFrGCqWH6gr66z7TTSEsbm3HiffLWaFR/wokRmccWuHhq\r\nD1krtA7Awqi6HbvXrd4YMDDIycjPw3YVacY=\r\n=1+w0\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"0a805b8e99c0e8497cad6dc054391aee1768c3c8","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.0a805b8_1674777671774_0.1551095535953575","host":"s3://npm-registry-packages"}},"0.0.0-experiment.ac13e85":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.ac13e85","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.ac13e85","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"bf490b5b6ad2a3ab446d5c352d4f19472512431a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.ac13e85.tgz","fileCount":239,"integrity":"sha512-A0Xuh4p4IV7ZQ7TijR7q/8zwkXT7QVMPjjurjvp+hz9iVDag9/udJ193pyi66Q1/xq6+nk+NAmn5HqkS6tuAdg==","signatures":[{"sig":"MEYCIQDSkOS7dV89dhjGxa/Q15um3i8nTtrjnDqbilCe8+GcLQIhAN0vOFrczoZgE/AYbjRb+u7fg0TPiEhfbYEAHvUioJ9X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27007753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0xfyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsaA//VqeFfGX9DujMKmlEzFs6uUkfh/gBVke99aXkGqF1fwFS14hF\r\n0vKmWHmAxXDWMxLCdf+cEb9WoLRo0aOZEzI4KjRFHc1dcxrPLhAWKShaFY27\r\neW2Kofc8acc9f20trjlTWchFXH+p8Te7GV2tdXAcXocClcSmI88DIJHOMLDz\r\nSoBn59kT+32nJGZRriZKHT2MFMnkmx4kxo2eUyygNKDVFpdz1m0KKrM9Vh8X\r\nyLN7c/CEt4sOYWcVt1wYKMbz36+7u53yGLq6WIMo+Yzh32goxBG942lVsrzY\r\nb707XxqP4VC0I2XmhuOTEhzDbOrIp6TYs09GD55DaucRuqYLW0QFO/9caByD\r\nj1ciedXL9Usbr+BJjy6Cp105SnaRuBYvuZEU5GRLQcsEQa3VDABhYT2Ui9UZ\r\n/aMQBIE5uxouz2wHmKHCVsIqlz+hdlqyRtUpPehR7o0znMPzWIN4HgMRh7Ss\r\nH0MPICRueaGU301uUHW6UQGcM/TVSFWmqdFKx+EvIJyT59eFFCtSCRYGIcKA\r\nJK0ZZKJ6ru9EDsq5+Njtqh0lB75Rg3aE7O2+N/wMCH1jww/kdZwTfi7waHHs\r\nUi11LzxuFeqVCWgThNAX6OiE2U+TZaHI9oJN2wJdWCYpdYRHivU9PiV8oQ2Q\r\nIlidwFMsrxGcvkWLmCW+E9/zECezgB2MJeM=\r\n=Ok6O\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ac13e85260a4ad347bbb3411a09d2de33a6f3054","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.ac13e85_1674778609832_0.9132130916747649","host":"s3://npm-registry-packages"}},"7.0.1":{"name":"@vouchfor/uikit","version":"7.0.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.0.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"9788efa619168decbda0e045e295b89056693936","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.0.1.tgz","fileCount":239,"integrity":"sha512-OzOtTOPZ0hmVlb+8reo8855w/273c+s9/OzCRu9hreIpo/8fjnGBVDwbf5AGWj50PMMD0UENGXkUZrIIW+2ztA==","signatures":[{"sig":"MEUCIBUd1qXsnJuED+092TT/QtidYw3chlT2hKPoepmuaNHCAiEAheJMxJLDN9/LGT7tnPuMs/Jf6AXjuPypSAA2F3EigDI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27004853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0zqQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAeA//bSA8z7Y20UOZ29ZU1Q4ptTpXsBVkQTPXJngrCTS6Lkwnv+W/\r\nwMHEy5EM1zwRQKq5SFmGtH2ZMSLgl6VcG1GO288636mMHQ89XVltMfoLzkyx\r\nqnDSArzFp3KTvhKeR1gmu8G1H0JT4+pWo6PcJQTN4Ekm1KW6lBCNh6vmn7T/\r\nZGMmY1kZil8TLqepNdP9fz0EjngXoY0diR8hKsp6WB+Dgb7aetNJR9U6KUCM\r\nJC/6vaWcVWQgS1jgVMDW8wL3XbZ96nkAooH3bQ8+f7Oy/aSdpzg67fd45M2q\r\nRSpQ1vmy0TjDC5Y1cbESlir70W3xyp9MA8AbBwbvdY/ta3P+ljvTK/g7kXOJ\r\nKSyu908oAh1yxl62yoXeaaS81vk+R1oMF5MB9XRkVI120783gcrJoXBxB4qC\r\nUW7kH3b/4G2r2UaqfDadXSXdX29Ux4p6O1RCiDGyu0tB5Y0tGQqEl6E54Sog\r\nIvy648vXJmiyIno9X/vfh9cLMFyGOx66t1wzq79wc59H0bC401CCY06JzASj\r\nqtOgAhfpo4cYaDLI5tHxHaBQz4QhDuwi7WTv5F/SlzypUiOY+tqxX5fbfpvQ\r\nLn2Ua+17K6A8FAlfDJUoE/QOzELsLRgOubUm9On3rqA4osjHLuS9y1XRvwef\r\ne8ZD5uAGbF9e5ExMhr/1z9/ig9mxOwXFLhE=\r\n=Y5lA\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"b4ad3b17954a1a8fd90e23d269da3f8945befa3f","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.0.1_1674787472344_0.64970989839615","host":"s3://npm-registry-packages"}},"7.1.0":{"name":"@vouchfor/uikit","version":"7.1.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.1.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c1a3f70dc77a32896bfd04e94df5b48e0c1cb18a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.1.0.tgz","fileCount":239,"integrity":"sha512-cVO0CkNb2kjBIFrBCVNL6w9MRXlC6A/1pLiG0Qxhx/RK+qSABGrTlfSIPV2xiEByvHvzdvrBKYcovIq219hg+w==","signatures":[{"sig":"MEQCIAPJFUFHyMk7ISJ85BKMbJby5GDU/UJCLOFw/DqCQDkoAiBoEmjTxPpEhcvZD3xEMSqOWi6BsPYDCT54eOfB1A35sA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26995514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj013rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoX+w/8Ch2y27b0WmiehNSnvuuuupcoj+7pQLH5mfk7pzMeaQd1h9s2\r\n/1Ixyh5ebS03zFSF3IV7APwbjpiclduLdKbl34Sk3VtjpuYVQtQeMA+rqER6\r\nPqQJgXiUpXAn4Y5bWD82+TFldie99pOHbiqIyxiNzctCuA4SXo3KCoSEVbo2\r\n4m5/dsymGsqNjZSe91hq5XzboJyb/Xzw8zL3dXdL1IN3svMBvlM5NS0rclEC\r\nFbVYeDXw1mS3rqN3OoyEkSmG1T0WwTdME4rOaGJy/J3x703w8pxpZcKDn+HV\r\nnZoBmO3kUoAOblcDGxJMWJ/clzcy4dxoM5/ha8+xJLsAIEJxEujTEpnbEVYp\r\n2KkSKAlwWGc5Ce3MH63a4qeibyxY6CDilBY6bBPA5o7qHUX96D/C50tFLiRU\r\n2lFQlEMjF/PVq/jFmQt1GSEbjEpMR02wmsAa1TZ5qEjuCxozJN5R2Gu8msmV\r\nGtrAoinzjA5YNtjALq7HaDSJbzOmGGWVsAOca3dYjHNtAAiIjYSw94v8vnk8\r\nQSs4zS8XlyQU+ST+WgOV0uTeKD4+7yZarc1ujtAEORzW5+5aWmfbaXYsPIFF\r\n2XSzCIrOJk3YuIk6XJP11rUAPZ0fq3Lx3+g3mkKMP1Rf0w2PUPKpv88qUjV9\r\nbsaTVPCT9KhEUznvgn7VFIWIWCdsbfgtZCk=\r\n=M37S\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ecb5fa0ff4e6562c2c43dc3e04a674fe63ac4eeb","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.1.0_1674796523064_0.004002149601960214","host":"s3://npm-registry-packages"}},"7.1.1":{"name":"@vouchfor/uikit","version":"7.1.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.1.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7d134bddefdfad80807fc85cd00a08bccde26bf3","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.1.1.tgz","fileCount":239,"integrity":"sha512-mwcLCNsckF7qmh7YlAypPfzTAtwQgfzbPx5HP9/FPpdwbbRHzlAhoB2+tP3hC1aQBLnshgl3BoaqMYdFQHvGMg==","signatures":[{"sig":"MEUCIQD3D3CwyLPqAAtM+tySPqD3YRysCeNxYr6nrg92pO0/rgIgPFfM8lsOFxjs1n5P2a/mwm96NiOAoHczxQEgP4RuD/A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26998690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj03M0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqufw/9Gv2aCEWVEwkYxqyRCfgRC3J4olDpMy0TjqGKUCrPlz8RdC8A\r\nLwpCipYgdrIvZ+PKfoB0bUbA2QlhXpLmIuQALVWX52X96x+ta2dwNqWi7AMK\r\nr7p2w8yxfY3JpKk9hmFhSbg8ItwGOPzWZxUHukKrkJ1z990okyxunK3cYlN2\r\nahX+uM+QjaHCwbOPglY/vjWj/SaQOotbVCL3uW7iBNvTPpyhPy7RBjrYjcYt\r\nnzGX9OvGVb6cLWdgIlG8GAXCO2LXkQsZSc4RNK+E9niZTNyQUl3c/7w16Blr\r\nj6z9XZZ0s4XqSf2aD4scTMOonJ8jq4plcVN70szXXr5JwJVnX9lnIzflkw6j\r\nXIafNEnaU7tXYyb/oVQJrnBy0bN02L/J2+YhB65K+v+GL4m/WG+7In/LDUDx\r\ng3nnBoetcshtadIVYNikSEfxRFB+RxXwlcvUl+Hw3lz0qlbgWpobKP6tddX7\r\nLdoBLMFN6XlB7744ZmHAgFj7VcHjctxQV8Qv5ivNTzQsomC+O6bXoSTAlExH\r\nrRLk5uEEhTPEyyWD4GRNM/QjuyiSDn+8a+AOdL2PgKrfrcVsHuLVmQ2EKWkz\r\n4Q2DDSdd4q0xBvsvxzkDJGfhbYLYD+Gyatpm19zv18jnESCmioCevXABDJvy\r\nTG8YGxgYMjlMQetkDHndl4puDOlSbyoPaLM=\r\n=CDar\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"4b01500715a2a404f62cb7d422e0fbf463361c1e","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.1.1_1674801972302_0.27449581192853545","host":"s3://npm-registry-packages"}},"0.0.0-experiment.e339449":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.e339449","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.e339449","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"11b2afb698cac9a06a4a45c8539dc0ecd31158c3","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.e339449.tgz","fileCount":239,"integrity":"sha512-yT6ypXVUb2PPMltz1nNZ8+888K8FlfVIGXVkbOUKq1nv4mlWAvHHvFX/x0npuPu+eSrrPZvzrBX+f4N+ar/l4w==","signatures":[{"sig":"MEUCIQDLDuNGIZjTqtJvyAAUIoxBhqHq04vs9zjLrDuZhvNo3QIgWbcsuugdl42GIyyIVn6Ll6VZLusCrIAGfauEcPW9hvs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26988832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2GwsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYZQ//S+5hH2jLx/S6jbSSHbYMYVBpNNJMnno3o/YxrQf+ryFTENrx\r\nbdR9YN+XD0GEEr2jotczFao7M0rFjeROcdpBBWAqKpsUvmZ0QhIRLXgtJUkb\r\nBkJ8krp3J8LZPsk3IvcjShllfbZp6pUMN1I0vU8CZZpmHUJtgBPlUAtO3Zis\r\nFwuQDCCh78yaO1dDJUnN7DBnfEpZZMHDngnHL8NnBsJOUIFWjzhvADl9tk+t\r\n6NgWCF9fyBuXEMKjFKfxoI46GuY9QqbH4VPqdwEEIjqhdEn53CR0o/8WX1F9\r\n3O7c8BI3E7dkTh2dj+tZ2VxDDzd4QA71D1N8GP7Rry68uyEIqpZbqwBCvlIP\r\n8eX1tOlCKSJL81uV6NhMERaXcUEhN8EXIGOCWTm7huXlKrnvhCxJSbyJTZ+v\r\nv037ScINsgEMv9VuoKKMynomrXcYK0+KMobdPer6fc/SunRgSVWVHicqrwB0\r\nPl1XwxzuwVc0Wdfae/1+VXJmx7+s/sWWkf+iwqhWq+JvxI9G/3Kl7ZJL/iH+\r\nWpzOCt6y5eBuBiU0sGqmFJzh3LBhxWH282v0FWu8nLjRwz5pF7wRCSai8rcA\r\ncRY6Fn6YcftBYMWRA0WHJasY+VoP8acCieduSRc0hI7hsykgtD/ghUTg5Z6g\r\nsgq+uFQUSBwLgvRZHbIut58Dz/QF8VwoskA=\r\n=49Hv\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"e339449e2a3ba4b0d138b51826e0cf01b52e5d4d","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.e339449_1675127852189_0.4869473716893806","host":"s3://npm-registry-packages"}},"7.1.2":{"name":"@vouchfor/uikit","version":"7.1.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.1.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e5f017928ea5e4a37f4a33bfdc351c2206411fe0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.1.2.tgz","fileCount":239,"integrity":"sha512-vgRK8Xs3mlXPNjMjvFADnrKUIPwcHtFU0QZzsK7v0YkJbe9ZOkBSxPPhTNUAcabs+Fz/bTfoA1vbyMN1/03qyg==","signatures":[{"sig":"MEUCIQDwmLKC1geW2MVZqvJPM/7TMPBx1S906tSd8xwc4NyxNQIgeR/7TuPkJhCTeSvhCkrWVJ6W1SF4A0audD+lKrofLGQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26988813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2ailACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqk6Q/9ELgaHtRx1lWB//eKCQSdeegbaQWXs0i9Zur3vhfiPirWmXXZ\r\nctAlNYwvPhclF0Qoi2VCqxPtgAHaIaGB8JZ+JKwSwI7LtnLmkRCjNqZWfw8z\r\nyJXla+lC9q4ceAtRadqF+5M35HuEovJp6rcu/aD9G+At88/qttlMmYF84Xup\r\nGVil8x6ddTgm27FZCeRPaV/Prk/bacdetXkRI1UbQUq6+zgH1l3JqJ4F2/gR\r\nuvTjoZr3jq9/DhlYDN4odcpgX8nQBpy8e9fKDYr2OuUhWLF1HuLG61bVk8n0\r\nfIHETBxWguWDztTwqPvnNfP3srH7X8sxA6hfcUI3GUIgtQcBpn4vOBVfNBp3\r\nfbf6YrFN+lzf/Icbjs2PBS/n4p7mYKOcVhH2aKh8y/mYb87VymtlZKBKh2KJ\r\n0KvuwN/nPV0NR4/J3eOiufLF+oiaHkxfLDulp+3ng747+Xw0WgklHayIATrv\r\nOGNG26KjpBjfzQ6p3VM4zt0U55lkz5sJ61hDAqnivC6ysa+LzvNLbqnVQXy+\r\naEuCtiu6+IDiQSGIzbiNnsxTga7g8Ivk9ZtxX7HW2OU2zuBeIcR03NsHaCPT\r\nic3CwOENk7T45Hs439RfLKc4JWnkcJq0tyQBIFwrHva2EaNGn20D055q0quk\r\nyN6sZWhvZ7hRpN820XLuyH2yxGIfSseaSEA=\r\n=1PPs\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"dec825ae8aa917cab7fa424bdeb7ef9b7bf44405","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.1.2_1675208869527_0.6137868323986646","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9966797":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9966797","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9966797","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f67171a729d00aa37e8ba90cf25b847de7845455","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9966797.tgz","fileCount":239,"integrity":"sha512-eaurzhOgg5nV3ikjqlQw5ttjBohxEysI30pLpZBzmcxSplyok6jLD4GDvxnmW9WpYif+Rw3blnpxMZKt6vAuSw==","signatures":[{"sig":"MEUCIQCKV+APYwou2Q44OwNcAorrRdd8zJpeXH9zvKTH1D9A5wIgHeBx1haJzuqooMokyAWJPlSDSHikxHgVpEmQ99A/RP8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26982530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2fz4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosXRAAnIkKiZQIv0RKACQfTo3E+QBEfRz9iBWdWf09j/KWvW3LiiXN\r\nlz5hk0d1U2UMgfBft1GTLqCzc46c+BbI7XhGh+w7ZeqFdH/EjKX67zZl4gP2\r\n1/m6rlj3g5kpi/ffwATSNe9SZfvxFGlK9vTuAT9ZrhAFrJqzd6HISS4SyCgR\r\nnTX7VBh9xnWCWejZVcsP4xR8tXpp+e3HHArHj818XG+3p2fSy9yWLzJ838CZ\r\n7Zxw8K6gwFOqKJsXdb95Qv5HH+GHOsU7LMRgULEe5XBdRs2fmz+5lZ1+pibI\r\n986/lFfawysk8wNMkdi7S2OjedvXdXlnIRScNsz9hmN5wwQUgcumlYwWk3tm\r\nC3f4nfoDXH5cBfRBpB690UFV9J0Nuqvqx4BfdKMMsVEqD54tOiq6LreUXYWX\r\nuPpJOBaYssNzWTkPpYi7peSC6DM/LQculOD4bRsHohfOEP20F6QqJos5OPj7\r\nSSGA8g/4GLblbzbAOucGdWk+G0IZ4atE5qTFQ05kcfpXBjRWgmwBG+u3w7Vb\r\nTGPM2lJCdkU2vCWaryROOdjGAxs56g3QVI2flC/P0Q3UIH8r6Rs5e9OpcmmZ\r\nPnz1efAxG/u7AkVxUWi7ms/pmdmQ2yOQjVarIRTq0xIySwivDHvt9Pay60/c\r\niV62eJM28UCDNftXfpbN9keoSvslNj+es18=\r\n=I/a/\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"99667971737e0cf2e583b8bac5dbb81e320488b4","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9966797_1675230455860_0.40513225848480916","host":"s3://npm-registry-packages"}},"0.0.0-experiment.2e5b407":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.2e5b407","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.2e5b407","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ac30d417dd13809d1a479486bbb0704f4c1cc913","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.2e5b407.tgz","fileCount":239,"integrity":"sha512-aUIDjakhd29KOvE2qEXkxocQJ6X0iABbB33pEykYzOLIaQiCs6WOhoxG4Obr2N2cKL7BzcLWB+SaQn1PP+Bs2g==","signatures":[{"sig":"MEUCIAzoa6GJj3rMJsdTnBZIg9qxC3OTog61YftLU/sp1Dd7AiEAlgt/fs5ZCEgdKmJXGGMddCBuNLPwhUUlwHN+TGwfpZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27055106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2ggTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4Zg//Yu6GmrpPEFHTCoZHocd80Ju+P1kK75hMvsdTSCyoEaEtC6j5\r\nWrxFd/xRvJkseYyecNDj9XwNMbz4WOcXuAL3CxmotjxrIB49kKWRrDAdbVVL\r\nvm2m9xUIeaSP0sL8LtRTX6DNrAyD1XPctApZVoPXL0SuQvOGiQPn4RpprWGo\r\nA4Vl+qodTNdnknsuAbb4VkiJgggA4lj7cBQUIM4MOMkC/lrrkvIbh2FjVckg\r\nvAo/mE7/BDLiPeBEqbA1rum+CvR3NJjbYbZ10GKV9RhKmb99b5O4ntjqeh/D\r\nVQB+ZGXxpWspMplgdoLz6YLlcwpodQk13iMRB4cMpV9hwgNcCHVhoFUZBG8N\r\nf/SWphf0R+oxhbyiUXedIV+fR03Cm/TI8LE/QCwhp6A7enYTYXoJL9KjzfZw\r\nYy57H1OHCxpa+Z785f+wAbZ4pBPYx69tTo+FbNmPRy2EB3yEg2Wmy6rN2Sq6\r\ngQ6mJc7exl2UDDvjRviDs5frO7H0uG7HVKbFGVRd8mw4cn7ulg0VvS/LWQw2\r\n9eLIBT41Jk7vg0KsX8kcl+4ZvmUFrhlDykH7EnSiE48ZSFzE0e+s2wYC1ixI\r\nnjDBHDscV+aettLFrcnWH7A1gQfJl77VO52qAtoyhVj2Dqd7ztqDFqTMQL02\r\nxJTwyPaIbscd0nNAWnt4nUZnW2/JnoWSP6A=\r\n=ZWUX\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"2e5b407659e900473d900612300ea5849d45b6c6","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.2e5b407_1675233299103_0.487336176767184","host":"s3://npm-registry-packages"}},"0.0.0-experiment.7a2d1eb":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.7a2d1eb","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.7a2d1eb","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"712cce183248a12138be8ab635b9090d7bcf4f24","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.7a2d1eb.tgz","fileCount":239,"integrity":"sha512-qBqLB8reeZ6sW6jb+rdHL0rsIak7p2Ynf8hThCQteq3coFRHOlUZFNODI/Wgwc9+MFvrvVBvBlP9RzHhMTHkuQ==","signatures":[{"sig":"MEUCIQDWbC2iggAEdOuUNUxcSXRzi8cZN/npCoRDOVhEGObumwIgKeAR9zd9KB7r5AIiD1XU4oW1tfJdk3tQ4Hqs2bpIA5E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27056061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2gzgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWIg//bheYJSj4pVPFBhmIx4eNZNMBdcpnkA5gRSrCvXM7egFdYv9o\r\nT8qSsHBKg3ApK61S160aJiWvhqoOotFssOqjQ4n4FdHWlcYP6WjgA+fc7d0M\r\nNhKHuz541oIv5Ygcz6VsNltqGvn30+0ShUCdEBEreTqMs3zfVcpcgq5tL7fZ\r\nz3kgUr6TOuK6/D3g4ttDkt9mVulzzeeo86JSEQuSPiC9fuOLiF8Hi0WKifL0\r\n8gP4VvTSCCYPxLNjpR+zhWamkj9cIJbxo0Yxb5AiZEaNWjNPECRGp4Nb0I0o\r\nw4aaFn+ewI+8Lxm6ZLTwdx0s8XDZaePHCs/x5FXSPwYbrbYwGVgD30MtI9E5\r\niDOBjbNoMriZhsJ5j1ckQ4ULKA/Q3/hWCp+U5LpyOp3+xmZlu99iQ3IXDmOk\r\nAQ0hZ2T135vIrXRkZefKGR1lPYJJl54cWatG7OIpavsyBnl7yVEc7QEoFdBa\r\nKrC/upzy/pPnjRPZLqi7tFdGPBToK8/vwH73gptRIUVCOfWMwrLAUMii7yHc\r\noh82PR5lzOhL+kMuX/qB21404VHqzkM8fh1u4HGA3R4MOtSGvSog/qkTj4DV\r\n1b9JS80wPMqQjiMTYc0KvRXmvWRjHh+CNblmtC65rwNLIZEET60Uzsr//owW\r\nm8cfUlrMxIzQgKYZDCu8XhBluRCujqHQ2po=\r\n=E48y\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"7a2d1eb880abeae2d7730d1a44c83c2b5c011239","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.7a2d1eb_1675234528082_0.687319337843386","host":"s3://npm-registry-packages"}},"0.0.0-experiment.789adb7":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.789adb7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.789adb7","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a5386590b5de46a2694993722ba844c69e392863","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.789adb7.tgz","fileCount":239,"integrity":"sha512-UmdiOqAUjwKKDajK01O8SmSLZFz5clT7N5qt9D1zj2nkcM5OshZWalvSJEmlvxeRUb/aKwwu64pFXb6CyBkKbw==","signatures":[{"sig":"MEYCIQDfkSlIRUHHxRqVaSeZYvtSiA29aUBrbL5ac/HPiImi4gIhAJmVD8rzWBOXdGieRz2bmRWsXYXj2Eyy85XDGhMCX25h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26988026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2viIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzWw//Xr0Z6Sp8PM22P0gTmOU0fJDxrRIHvRAoVm0PW8P5LDBtj8T/\r\nsontqv1OtzXjcmyfk0NBhZ7VGW8P+fFtw88Y8sjj07oActZqa1Fvqc18UKPf\r\n8wpZqkhT4xoC6oJr5f+18sUL33SI7tjYvGkRVY+27ZmFarrhAtdCNF7tI/HX\r\nghx9IP/i6k1WxCntHawCUwjTtSmBMPufQl477r105Hm5rkzJbYmyeziH40Oi\r\nD9pKaaRaO5UbX7XwWu77ExIPzsAhGIIDB+ZQDsY8OkdcO6kBnlbIfQz3RYnq\r\nQZkfaktQZ1gv3hEY0LiPbnu4muGWvQX6bqdzQIk1w4/umofxiPjry5fN7w05\r\n5Y4CdmoitDfLi2xg687AE4u18wdv3JRlT44MIlC41IloXEg4RJV8nhEDoDfK\r\n8Dc4GJrzyV9p5HnaLpPYb46UaQW1S4PYCRZAqr9GrGiQlX0pXgCFmVfipNSI\r\nZ3GPV6YgAHdeDmdUl29AkXwlczFJeJmr42/E+TS+0cglEbOHnKN0RjzlWQSp\r\neNCNflYme811FCHXBQEYMT5x190fKXtLrmqPE/+hcz2o5TnOroDoqPYH6aAx\r\nj3XwR18zto6UrkpGqSIqzBu99I4yQHQW5EGdBnPqiMWsFh9c+N81Po790fOw\r\nzof6tK2Dyg6JQLg0cvgRTAeN1HOnhkgsxxU=\r\n=jBL6\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"789adb7f98890cb1a680a325c705d9c4a6d026b6","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.789adb7_1675294855978_0.5786400634738211","host":"s3://npm-registry-packages"}},"0.0.0-experiment.e6cf649":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.e6cf649","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.e6cf649","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"be04fb0e1a0d1a18003cd71ad0706bb93834dd2c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.e6cf649.tgz","fileCount":239,"integrity":"sha512-VIewCzDeQFDy2F1pbCkZcZuKFAQoMobB/rxNeTFI2++/KTtQayUN+U4/QtCEf3C+r3xs5nAv6HShFeiiJq0zBw==","signatures":[{"sig":"MEUCIDc7Hot3VAnppaDWE8JNJCya9SBKzFYLpoWdYyLaHh/rAiEAjAPAdLqPM0qbkn1aPAY6DvAwPCC2+ITUjgx+hT3tWKU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26989574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2vpkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/ig//ZDBPMTmrT9l8rhJP8nYnRdlSgLexecCniUlv2aKoMKXjEgsB\r\nnkfNZMmLkTDYhR+tJXFRzj+U5m/BI4e9yEmrBTaEriUXRacYjUKqkMNS9YkM\r\nOJZwyKESi/zoKpqyvqZrpuU+c2NoVusU1rdHREV9qxYP1lks5NAkwYTYQY6r\r\nvy28aFDynF5mNS60uKQUqCTwtMk78s4kqPv/ipNJPFIO7ec1vMNwxJdEfK3y\r\nfVsNJjT9ZdjDqxsKj+raDbeWk4McG41QB8ZZrzLyxE1Jxy7tEwbdpyiIh2Em\r\nCt7R6nTUMgfCARvaPFMuGzsRiKdIVZAk9yG+OivT2iJP1p8b3bXnhZQCCzS+\r\nIvG5/v379ZxqlDUvNKJTAGT2gQA7J/xmsJMDFbfy4hEQHqiqm30CwgpVaDxk\r\nYMdDwc/1Xufu2LoGlz/mLoQH9F9msk02sV5Nx+kWROWec++mqpHZrBcmSxYa\r\ngigCrSJmrERiIIvS/C2em+3pXObaMxBayqcN8NrwYbsG1//QHmuj4xphuN5b\r\nq1sezZR9gpHWG8HqHtnNIEuBzwnrpLEAIDt2744CmveRZtDbgMmf7f2dHmYp\r\nziFg1iizLYaVHKyJukFJsOC1uqVaQiLuM0a5cS681PvUquYwgLzxv6EOve3r\r\n6RMuo8/Tdd3SQdDupSId7D3GIgEPBBBHRHM=\r\n=qWFT\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./components/vouch-modal-header":{"import":"./components/vouch-modal-header.js","default":"./components/vouch-modal-header.js","require":"./components/vouch-modal-header.cjs"},"./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/VouchModalHeader.svelte":"./components/VouchModalHeader.svelte","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"e6cf649b7d6ec57b3e44fc0f269f7e441766d384","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.e6cf649_1675295331897_0.8571211788244528","host":"s3://npm-registry-packages"}},"0.0.0-experiment.7a7f1aa":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.7a7f1aa","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.7a7f1aa","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e874a2a8c9cb321e1950fc9c34b112d86364bc20","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.7a7f1aa.tgz","fileCount":239,"integrity":"sha512-ghsw+LBQO78UgrRCGdiDPcCEN17dLOTKOB7UlYEsE54tmGPXd0aABqJk5kF2pIpPGxgl6Gl7U1JaK5yVE7wtNw==","signatures":[{"sig":"MEUCICTyOQS2j0pYOnrX57NoTJ2lGiZs+ohpVaaINQ0sBD3CAiEAkv4vNMEDJ79nod00r7MxW2OyZvVY0JZbmoN7sTdf5HM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27045937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2x1ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOAw//VBJIE/RLA8ITYha61uz3V2ksKmRj04NzOpE6UtVAelMYroEv\r\nKGQyHQPyZF/Ed1N/QgbitJa4kTqt1V+zZenP7f+ibJra9/WI/Ikw9uBkcf3+\r\n/Cpot2Fab4jwZBWLk0uSjex3ouFS4J/hpzTMNd3CwX/hEPO+UvviCBFf1C5Q\r\n8WhZ8urG9LGxHGqwU2HVJv+q9rKNpEWeDnS7aeMYKFoMf8H2wsVz6dVDPdKt\r\nPsOpUHqbYcccSoPA1gLEqSrchPPGGIoEaPMm3FJBMhgm410YHX/dNEijYMF0\r\nNaj8jGMMiuzlO0t9P2SkuW3cBtznpTa6h6uTnQG8cLlsIQgN7Nj6H5MVe4pi\r\nH4KA77c/H10WS4EC2zAIBg2iKwZVHSBw0c/BkR/dnVFt9Hx41AIc1dFArN5K\r\nfk0gK6d+wjiNRlWMTR6L0SOewAu4WUeCaX4NhMs9aNRzquDVJx2DtNVbR7La\r\nkwxMJwdeIFzhGRpEJhBB+THv5NCgLp4HKrVzw6Z/TtgzUtTyU0Ap//4qRM+o\r\nRo97mbwVZzOk0Q6TApUsLDuo3Yaq0tV6N8mH0UG6yxFm+9gW8gnxrHQIYIhk\r\n7E33uZELfWZejqNoWDY4IHP1Qv2kF2l2lZzArhjMtEY+tZgjDlo4wSw0V6OS\r\n5yFuDlDOW1q4tfpIyacmKM68oxRzrAen6dg=\r\n=7426\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"7a7f1aafce50277360a4bc7c0db8a2ed4ac7a09e","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.7a7f1aa_1675304281065_0.46900382177718813","host":"s3://npm-registry-packages"}},"7.1.3":{"name":"@vouchfor/uikit","version":"7.1.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.1.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7a2cc162c7408fd53dff050db1007fd78f1a7b3a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.1.3.tgz","fileCount":239,"integrity":"sha512-MrLeSIstBdTZeEOtptRlQHbz7ym4yRZLDEQAA7ZJM1q65QkuU0VJhTBEBiPyph2Za1XgDQ0Wm/lmyAp1Ko/I0Q==","signatures":[{"sig":"MEQCIFYVQqPy1qvn9jTehwZKZK4ns28CmvNWaT34rXPRUVnyAiB3Ajha5HGa63O/q9B98wvgvsChI3pQQRzNnUND+pxe8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27046660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2z6EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOeBAAkANlbTNasuPEbQlDbYobysWKiRbUxt/18ZOTcEhsgXb2EArd\r\nXV2kZLTYxcDdEXtpJGV0/ijpLmagXdYLPLEri3ensT3odr83gtEnHGC16gF6\r\nwh+rIA61cqClAOqupE1eqCpz0n04cnJUkBSyVU9ASSn4AUwLCQ4NuJkf1xRy\r\nhZGbojoEBwgqdQtgbaCCmqWHXo751g9WXtYyiaDcROg8wmH0H7V8MFiX1TL7\r\n09+2k41p6Q10Yj6RtR9VLLKi9VcNxP/DhJftAzBiBBipe/w9Z5QYHf5ElNsi\r\nlcXJKvfa2K7iwTqCQ9EMC9H5p2SoR/4ISyH63YpOVutVTygjJpcLoXclOqXv\r\nbjhzm3gND/42VDXN4eqcjgGfxAu25/u4Bzjr8VWunWB+982npi8fBIPdvNkq\r\nGZ62jhVGjCLOn4+rki6geOKnRpYv9XqEJ1P2oPQLcVsoMD6UcphNmaw08aSD\r\nbzBb7fTpJdCN9RBO00E/r1fYlpNSG4BulvV5jsYf8F9pwR7N59kgXFN8oVMR\r\nZoXSTDv1IZgHw7jC2MQQn1LdZrfTkOfhkJgvq5UBhQ9eojZsx8EHpBA9c2sh\r\nzlOMS4HdMvHBcepfXtORkXF3+EaEoi4YyR4lGVqkY6iza0Ma/f7Jjm3k3N/W\r\nkg7+R3KWhbR4biYdqaIP2QakV2Md10VjDFc=\r\n=XH7f\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"07c16e39ce9114709d389ca7ae7f6fc091f81210","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","resize-observer-polyfill":"^1.5.1","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.1.3_1675312771836_0.5363043493450945","host":"s3://npm-registry-packages"}},"7.1.4":{"name":"@vouchfor/uikit","version":"7.1.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.1.4","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"fc4d2ac4df7a60e7a8df9e52a460ba88b81d9f73","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.1.4.tgz","fileCount":239,"integrity":"sha512-FFQaPuVnQT8i94N5Tk50uLdz1xDPa2JwlQrHLJoJ92PKDlzMbs60hMYG+t97dCPdKBSIGoT2AKXbLVNhczK8JA==","signatures":[{"sig":"MEUCIH+BddlhaiuKsrjqxUAIbXY/K1QLLQWVqsaQ1iH6dKyeAiEA7taGBpUcdqEGh8YxP5pe6NBkJ8uZsnHaRR/uE6/ziUI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27325568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4YnGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8Yg/+PG92BN7jXUB4K8Gktf4QijNv1dd7JmHlFXNMUEepb0JQmrKF\r\n7DypW5vgQmWy04q1BBzwBE2k2nYYccM8FSITLhaH2nHwYJ6pon6BppQQynBf\r\nBs5vsa/jufj39j8r9GDf1agPCgSjsL3PW3sq87YIXRlWA6/egGve0YGBXijd\r\nCgpksoxWhalBAxG2MwQT0/Gf3AQqrEQV8Lq2Gy6dMyloRZrZkYj0di0x4oEk\r\neJiOwFjMwF/bBiBV2znTvQs+P46axaYZ/9Q20+FqXLStlw2QOKAnGF59Nw0j\r\neh10mwLpwalYVNTT82lpmw8UiPMCBJS4NfllL3AaQT4vVfv48feRgwPfJe64\r\n9K3ydY92QpmMskvAlxRdt47r9D2c7v5Iz+uYfprQsO+UhsVCrDFaxc3ROD9R\r\n0Igm3QPhco5LSejiFI+5UoJ4KsbULKrZJgsxZiipMivyEbcT/gGUfg5Pp1A6\r\n4YX8UOXVRAVOA8xMGzrsPbRyBGxtDkEGSjcoQpBm53MUsyLHAKXurwPubp0t\r\njFkbdCpHsEs1QGfGB844MtKJu1H/CQq0YX+0PqpXCDGmCQ6ziY3A2A8NdI/v\r\nWH6thl/vgtqZQ9lBtnEjDoB/Df8hK8RRvjJB8FmCIjOaj01YtN8x9Y47gLyg\r\nkKauvtJI3TUEpQ2UVoKC9lNOsVkGJv+iDIE=\r\n=EltJ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"8fe9966e5aed13644c45534073076d59f5256597","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.1.4_1675725253783_0.3056558644572296","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d052688":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d052688","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d052688","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5e7ccf26213b148e2dedcf675635ecd669aa0822","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d052688.tgz","fileCount":243,"integrity":"sha512-DiV2UbwVOSkI3fPNg2FExiHcO+GMElOD8NALAqM1QjaL1BT7eSKioKyETuiVpSC0AIeS8jLDV0JxE88SqxlV0A==","signatures":[{"sig":"MEYCIQC6bE4/XZh6gZiNxITPrHGkR9BBwG4HZlte+vOddXS6RQIhANjq4AB7Yy8NU64pC5qT65XhWCi49vu9+XDYoQca9NJh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31421414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4gucACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUtQ/+O4RQFFP8yC2LKCSxmCQ6dFjWUNpJHe+ZIk5bjoB5hn6l/9ea\r\n0mcl0iC0OkXzkp1RgMNFlXpykaXwnVkVP0b8fjA2U3nPzHrV5R0l1RHaDtTU\r\nDe0W+cl6rAuNcS5enTGIUgywTRwirFYOtQZUpCEIHgV/0DLQx80+TSy+x1Pg\r\nQ8B7Xwsh9MVnMmXhOt1DK85WakVNTRaLWc06qoSnLrDRSXz27Yw3+tzn0j+e\r\nQNTdX9b0DTO3NXc4GNHMfKRbPdrD4kqgIywAh8gmXOBvbdwqbridxjajHs+1\r\nNldB5vP2Q/suBjK12wps9buw+tC5kygqU7wsY56mfoAzux2jFp7vkZSR6Z87\r\nCWfHuI75a07AbQRsZGd3WxQhocFDn93Lxr40gpoeNAc+IVktzkCqXHbYDUG8\r\nwOGNk6TciCamvJqB4i7CgCLpJUjxuNRrdU+xE7UKi4gvpZ4BA5i2hwGD3UAv\r\nMUBG6EcgtRQkc+7G0IYaPFt8dwlxz8DO1nPX1b/qqd1BrDk6cytj3x7eXW6+\r\nmkFLYIqCIgG2HdeP+VvlNDFoLH3a2/EiIS3XwFYlVy96nr3Bp+WHuLBSQKBr\r\nTMA/iKsNeB8ylfbPu8aIC7BXSLk7af1z1fCvpHLKZxN8RAWzw5JzOcV0cVY1\r\nNxmFS64w+HaEAdPPsNCvZfTjbZVyXXUDG/8=\r\n=2mJ2\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"d052688138c713e75a2a7918b3c4861a3ea71953","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d052688_1675758492060_0.351059365957862","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6062712":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6062712","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6062712","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"bf33faad4fa386a11e1f4b3ef5e4cb85e57a2a21","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6062712.tgz","fileCount":247,"integrity":"sha512-DhsL9jLhL5SO6SQcrNoTg2Ed3GP8JHGPhirb+9PY0fA01mjVsB4UItstFF+tapDuIuplpIp0FRrzA/Pzm/Yqsg==","signatures":[{"sig":"MEQCIF4C730D7zXyC58KNeG0qQF9iC7l5u15vGOosG8o46+9AiA5aa29GW+FXoEhXb1dEj6AvoimAYlDk2vTj67FP8TEHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27382843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5KYcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6IBAAlfDQXzXuHbtQiYk/SkED++/uMGtE6V2I5rfYuEMoQIx7/27y\r\nlCTHM/Neh3WCVu/65+Q9VI+pbLEHJLXJYAS2xIVQyjkmyHr5kGt56wxps9ig\r\nhkkBiklAjgZgAL3iTahI/3J4Ns/ahL2hYqY83dbbU5J9uuqC8Ep/pvqNhSgd\r\nhlIyL4KHN6thCWIFgKjLNSMHjJxr+QFN4ZwQfAFWwZPHiN68nCDjS146bFFF\r\nFVnTv7inJVnCPOyGK7dMWcXO+Ya9rqgz5Bx8w+97PCPWyko6TPmQsBtgDDFt\r\nyszQRs8qIT8R1NOSzicqNCPnnwIkeAb98CmI/bJMgteDzZoCm8Nwm6pLxz8O\r\nVQOJaj3DfXglNoreRW2QWxPfL8dbg6blqHeyM7b+gdalYERkTujdmuBtUNGr\r\na8iXSzjiKfPK5ZK/nIWz4j8enIzxrAO7uPoYjgL/UMNcxDs+FM3/ctI1lyk8\r\nuMrC6pWJyPvIezm/cE50PONUPmCv0bBkb9x8G268zM6dsOYNRWSxFQePpyaG\r\nmuBAQC0xjyvFQCXHwXSrkZm6lqN7DhQVVMseIdrQTyueol48T6OE//XoCZYH\r\nBY8NFO4pFzPP52mR691tJcJ7yMpFjPbPN5zVoHARvrEjy/F89yLHckRLb91A\r\nLoqYHfXt6J73E2AXtlf0HW9SKAEYMPXHH5E=\r\n=VPd5\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"6062712b03db301ae85eec2cbe8ab1fc20b63fb1","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6062712_1675929115799_0.5102758572872186","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9eb707b":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9eb707b","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9eb707b","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5786ef95be3a19827bf75dcd4086c13f656f332a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9eb707b.tgz","fileCount":243,"integrity":"sha512-5MKo7luvBuqwmGA7XKZ6HQWzXvC9cBocx8bYUj70LDhXRDWY58OjeQu4XUIIM2GGCA6Y/pf49XA3KLDIW/7/3g==","signatures":[{"sig":"MEUCIBKFM3ZOkT7TwAKNsHJejV4CDGEH3/F8F38/xhIyObZbAiEAlXBp/r4bXTwW61FRT1ugef006/8wmoNEiO7I6UVuWrk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31417255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5KbRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqjA//X9GZNwvOHMtjF6DAekj7OSjPX/cSZORDdfW1ldL6158zBXyX\r\ngg58DvbRfaH0LpQzKmAuwYAtYMF6v6MSBHZQxx2pkSrFgC7i86vlfjpJbPVf\r\n34W+lCfTeKHJ1//9aya2n74KGGRarsFIN7lKRNZyqXZRdvX70KYSGIWes5QN\r\nqTsDGFP4H1/WYKG/hZDtxLXdT9I/17nVxreoevgW82/4mATGkp8I7CzGF5kt\r\nzISNupcAenm8sXxlRSMRdbH6E6KPBqB9Fs7sYYjoJ8S3Y/KjP0qU6hfiddnJ\r\nLfU+VprwbuHS+csc8pyHBCrj4VF4HEGt3llGQdZGesrtsfyiQ5DzSgDmEca6\r\n7+CkIRj+m414C/fIVhQZ+aQMfnPt6mOuQkueI5Oq9xtnt142w1qDyLHKKBea\r\nENAQBTUljShkqd3AwtcywyM4dnYNoZamF+b49vu4aRDaSCMVoPZD01O0HT3n\r\nTmFEzp4mBA6FMM1KHLo1fo04RnvyMoxLm/HQY3E+RQXhCbcIMwRqcUzNYc1p\r\n0L9U50WDzF7pOPJn67oUoQL8KWEsJTc/wsAm26Jc9eagA7g3ZG/t4prF6qgM\r\nV4xWlo9tWWjJz9IB5Uh2Lwfqn05UlGQVz6tp/HtlnGnc8n8uWuXZqM9LvvWo\r\nagxpehecRndBJkB+/B0Dck/CyW9MQQO8Mf8=\r\n=96MC\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"9eb707b24a511bbb1a8f755b7a1e35d9f8248b21","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9eb707b_1675929296815_0.060413787664509","host":"s3://npm-registry-packages"}},"0.0.0-experiment.3a61f50":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.3a61f50","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.3a61f50","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"65fe1d4f66459269d943a9c1043ba734357a7618","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.3a61f50.tgz","fileCount":247,"integrity":"sha512-a8TcXfVNuhsVzW75mkyQSh0DJM6C3EoZKVIow3Q7LhEzy2OU1W87cbEci5qGGgStPICOR2mjWHFqybZEnS64fw==","signatures":[{"sig":"MEYCIQC5p7kuXPy9ll6KgtAM/2bBdSYGqc3FGfLH2ADt+RzhugIhANVLnpVOdmLIW0D+dLrK0RK8RpaDR9Gjfpuwvoz4VyIj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27385708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5KmxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGHA//UIkVNLS3eknUEDGwG3jj2cONzpt2ek70jp+y7J+iAqBkAesD\r\nrQNZDIWyj9X/l/WLsemvStADexn93TWpb0rAVcGb6SyLaAO0osBa4Sta6ErK\r\nn2GtHfN7GVHG2a/Om+kP3MhrNt0qhtVy2NWhrCdp60vpZLWAmgTzMYlSdvV7\r\n95j+rH4tIPboYyjI0YJLV0Sk1Oz/BapTslqPiY4jWQjgjg9iyHkhvsXBvFg7\r\naQxTB7S/v4PG6+TT4caA6WHm5NDGmJoV8ZSEQ+kZNCzmELWytsFBc97wTVgY\r\nW/vAI5NxITxkG6JYgwDgwM0l+X4GLWDcnilARteO/GRz0v+HrWylh4grB2zL\r\npArB6SAo7Z95T8MlVVzODt8y9f66mMXnBCa0JBe6+YMQVjXr6WMUYqdl6FbV\r\n7sPsvarpTy1B1VYcuob+LlGaXm3nD7KGwN1D8aVQoQaluVdk09E1shRxCSm4\r\nwCuNDmDrzJB9uHlsSmw4nFbXAwgMlkq045jBFnaJtUFcRWRG2uS2SAp+LST1\r\nDq1AdSQLcDdC0kAednW9R8wwa/38+ZGQ/Nxw4Pqq1A+Kpm3kruLiogwp8XO1\r\nwjGLQqwSpbtD7nfINU1wPxQxm5wHIlWKfNck9uTQkajV7lrn9/PpMa1B12Vo\r\nrWoPQG6o8KUJdiX0P/LagORHRh3ubGFKnTQ=\r\n=CXwc\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"3a61f505395727a356105965bc5e74e7fe34b9c4","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.3a61f50_1675930033369_0.8827282152702798","host":"s3://npm-registry-packages"}},"0.0.0-experiment.55d6c2e":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.55d6c2e","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.55d6c2e","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"89305c6b7774b72859686a96119c919eaf868466","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.55d6c2e.tgz","fileCount":251,"integrity":"sha512-oSbORyQohh4MPAg17Z0VKwvd8wvwJDzixNd9F0AzlpTeD8Ht2br4rz4YUs7NPGu4kh3IIImxLDY4pPwZ0gxMrg==","signatures":[{"sig":"MEQCIHd8MW5gsjoRPP/2qLTOgAFjtiLe8aMMjGOECYk9ZwxdAiAZ2LoZk8IFO5YEOwkHcBL4ZO/DJeIzV3gyG1tYhhFQ9Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31478858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5YSmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtdQ//S7Z2hs7U6kLnhfoTzVWkI5/LN+yWSeJYrvW/YLMPiP2FXXnE\r\nbluLXBs6S7Nq+bkFxEH/UTJHdL41ieXU794NppKu5C+5Hy+GHwbzGoeBil0d\r\n0uzn4m0QQv/3++Xah9xS2h47BXnqntqi+XhXDok3DbKugvEmyPhZWbffhS/m\r\nqSrhH9rj4Fb136iaKD88EEPXnoTie4TscM2G9+QqrzoSXm8hQT6z/OK990ng\r\nb0Ibff82PjPaZUusBqtVfX1yYmjXw4JTKVmjaKrjwyTriZQ0lobqJBVIcz3v\r\n7we9VHSFcn2RZxt6uhdRgGwjghbi6vjhkIlJ8e9qitqqFBY/RrGuLx780a8a\r\nsabN1bPGpLq5eQN1DanInoA21WOzgFXOtCrs1MkycrBdaGehSUngr1PB2PSW\r\niFH4b/O5YgP5jahqMpD3Kx6fO2gW2yPWnDxa2B1k4uchtQi0Xs9ZOcFe/y97\r\ntB4koP/AspghcJ+SKzJCMPU2oAvv6II7WGImoUtrqzsYkY1TJd3WjU+JLasB\r\naPOONpkVMpPM5eJYcwvuBR3lgpp/qpw+tr/cPuskSOIc8Z88z8lw91LjVMnO\r\no8JD9JZOQfrciglkI8bWhLWnR+UCZkSrLRK+Oyc8cWTlBSHkjtZZ4X8VMNMI\r\n9DXo3HwtssPo8ETWM8hWe9r79yLbxddI6vE=\r\n=acHK\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"55d6c2eae75aae44335f2e3aff05bb79b3b0e72f","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.55d6c2e_1675986085681_0.4939654150960886","host":"s3://npm-registry-packages"}},"0.0.0-experiment.a989e69":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.a989e69","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.a989e69","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c23b8b488db4402d9c1b94082742753c47a286ed","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.a989e69.tgz","fileCount":251,"integrity":"sha512-VB4q0VqEnC6/mslLEuIXe9Zvl4UnCQmAj+MQ3BbHADYSzoaPfsR6se5Nu8ppu81Td4eINsWBvLs/+yQcBwP3hA==","signatures":[{"sig":"MEUCIQDrDqKKsrudjd+ZGLIzMyhhzxY+8QpyMmCeadd2gNjGUwIgLM6sm0+v0txRgLQfPdmzXzN0oLjmjjxM0XOurFie3fY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31476860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5am1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSvQ/8C+cpT4PWvDEjiKQCkkq1lSIIaGlSpq/LmhYaOJBDbKClu5R9\r\n9bk7A+LA7UdFA0YGwXErfAy+MsMkqWGWkZKtp1nQXsZ6qR2779xOPhmSYeS8\r\nslzBcCewhBnvME+ToLGXUM0/2hqJa47mCI+MCbJUtauWgvJKBn63l+kfTq/+\r\n9PhORSyMQ8jtMkKlmgldnxrdOcAf2A8tQuSJw74D/vSPAcG0xoz+3ylSbJ/X\r\nPcn+MW8dxd1P8qVTqw+PbcFVl9hGUvJvxBwht4jYn5WPaY0bmvJGEm1xWzIc\r\nSte2vEn2Q9+dGpXhnQiuAICUN3pcf+pYbpNLj8hn2qH5Zpws5NfKqmL0LOAE\r\nhYQzrWbxtM0SmZ7mPUe08Adpu/nt8ZRmjnUud10/Oeky6wL7/zwND+TjgKXV\r\nJkoiiOu1n02k4xShjfqiHDVFIH/ldf6rtPINEcxlnbFC41oY4DUiD45xAnkX\r\nCrzmfMMmJYJcm6BlvIXNiVbsGTRlHC0QuEDtt0PEkbMmr59v6QCxBxUsCCcK\r\nD4pFK+hC20sCpnUeX1HhWmPuGFomah8ioBXmWmevv3CP2+n3UdCbGc3tLLov\r\n8jje3qi4vtEnR4jW0OUvFVoeJaUMd/G1RIy7Lam4XRrazBv+x98n1w9OLY4P\r\nsDt4yA0LTXn5RoVoXoji6XkYfrzhFQrdVL8=\r\n=jCL9\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"a989e69672a2fa5e1d4c668d255d5bb721e53229","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.a989e69_1675995573156_0.9909891893812519","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6f9a127":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6f9a127","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6f9a127","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4b245c2a127491e4cd2b17ef590bdc6e8f7c7f40","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6f9a127.tgz","fileCount":251,"integrity":"sha512-QkppN5g9u6tlieve7Ts78U+m36cNj6K7uk9z/iw8ncpRQg9It4gqAFXkqVFQ3YEZtj5xtw4+zwcD5QJSUArG2A==","signatures":[{"sig":"MEQCIGRg1tGeWSHGy/Hq6wNYTbZAq5G7YOD6RRHoy55/JG7aAiApNvO7/R4av/C8JX3xBgUcgRoobzNdLYuPcRm3L5264g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31479404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6ZhVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+BQ//TI0cGvxeUSbBWS/WJcZWx/ljP17c+fTig4XZpBnGI3/4/yP3\r\nU/cFNUdvCvcIxeSmLa8ydZnW0nBsEhTjFg6iE4QeSPFOVOL4BftePchNq21t\r\n9o6aaZz83o/npPX+3REnJXcyYpaWUBu7K5v9vXiRHypTkcvty3BBLIE4Tu0H\r\nubG/luRc/PiF2G6UUk21ynDwdtUf/jYIhcUK2HrSp5KXUu1Z6QfVrDDEBucX\r\nahfaSMKAhJxOvW6gb38hYJUdMBPOITqHBSWgURvlpXmi8kn9afotGpQDFwQP\r\nRmn1dD1seba3e9Q1MsZxKdpB/O7ME9E02QqUFpVMjb+nH+5pW7pOAuT+DosY\r\na2hm34hM31X6Oi3sZ+2eAI/+kGOWuXpWfWL4C5mErRZGNnIP+moO3rj++nxt\r\nzD553/sjki8TSnUGURDioKKY3rFMFBy7eDgE6nfYhjPE6BIltrsh6Z22OdoC\r\nc0nSpEjy57xbq7OFOj8Qr+IcdPJma7tiBe3mr0wQfgGVcMgIBXoXdRJfl4q2\r\n92IxarNtTpK1maQnUQ3EuwLVPXCZ9/AnEfDVjZwBFpGxMMuqyqQBRYhJ8F4T\r\nJf0YBbKzDHH5zeEQI3q9Pb35zPYJi31bpS7hSDmUoJXylg8M/mylTwo7TE/1\r\nye/x04tiNgIBh6otDWJ3sM2TmqJ95FiicgA=\r\n=LdVf\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"6f9a12724d6faea9cfa8c6510d7c9198b9706b0f","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6f9a127_1676253269453_0.31005887996260717","host":"s3://npm-registry-packages"}},"0.0.0-experiment.91e0f87":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.91e0f87","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.91e0f87","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2805e193bc5008c6c491c141865c57a2e8804a6e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.91e0f87.tgz","fileCount":243,"integrity":"sha512-YcnGdIfUOavjuBhSJHZIijjBSIA6YIRwA8uv/zA5IimCDuKe5Qgcm1+q8nd7YQS0xT2wffJmJb2wFbn2AvyZNw==","signatures":[{"sig":"MEYCIQD7KgdmGQgB2VOic3VtZZ3vmBU0ufnsIZG6pEJpAEHWJAIhAIITYjHjU0d/9upuWqCbkTQYNxSfXbMzZ0xsOod74l80","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31418817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6hInACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwzA//XSIoLYgzKNZm7H1PIXJQZRHoT1944hKIcoe13MaXv2d6RdoC\r\nSQMeLyN16IqFNbHk5usAHBHPqHUNt5kkooZvUHp9HLhcshy2uQTaE1lILtHY\r\nwJqRj7C/B16fHDJFTCIJWrO4k6uox/ZBdBJmPXllA3lpvKBq/KgNDP7e70zR\r\nNG+p6KdNsSQiENvemQdbn71JX0ZP3YDsx/JBGMwA6AVETb4/AXWxGWDONV3K\r\ntzah5VBJ2AJEzBY9jM1e5tUMyyJSJZrs/XyXaXhjx+kgcpiwjupnM/psPxzB\r\nOv4l8RdYMkgvDsUbv+saEiigLL8blJU4eB3jTc3h5W+qlfFwoCwz7crM7S+R\r\nO4iuFAowZ9j7WKy2W5wdncabCqRmkHmPk/CaqOTWA8eIUgUaOE0zPybMnT4Z\r\n3bmAnRZgvYPlzWL6JqE41IrXl6aYIzdApk8xiR1FxzUkg5nHwCAWWpD299Du\r\nkN+4xdCt1Hb2rywh69AbxH6qsfHOqgu+M5HKGhJxbIR8sOOcMHi1WrG04TSI\r\ntdvzpbp+hV20gyO47sBEkz2awZ55/XWpmTAmflNOFKczywn+mgWdmUFBbc+3\r\n9oArXY5BYHTARCEqdkiIDjwAOYaKNDBe9ELwAflXYQdbQNhMyqQSuMVqAF/Z\r\nk67HyE8QG1O6kUMQkyZLD9a3yPvCrs1IkNc=\r\n=HeYl\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"91e0f87e54bb5ff5eea691f1239d1a3ac08a37f6","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.91e0f87_1676284451222_0.94415466980398","host":"s3://npm-registry-packages"}},"0.0.0-experiment.a32aea0":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.a32aea0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.a32aea0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"cebb6cf90d062fa08fbc221bb18a5137b115cb15","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.a32aea0.tgz","fileCount":243,"integrity":"sha512-onrxw6gY/tdNoQq0yLcTG27eW5c6Iy6JLsojntmSj50rNM/AYo7UsEUnXOJBxhB1IPEVHiEbGTCQuf0ZJbX9qA==","signatures":[{"sig":"MEUCIBXlghWssE0rOsKfNy1mvpnB9MikbYSNcxlrVwljVYONAiEAgmz8CGCQGSqSV4BH3LFk+C+81cj4jJp4Cfy72VR/M4s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31418817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6sEWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJDhAAoFCRlWZxvfmh7dclWDOgUkOiRqQXS1ycK+9xfvxiAzFZSsbP\r\nFjC5nprtrjkxFDHQ+SkB3/LIq1CTpmKngypSLcMXc+LDOeGBVSF4THPhR/T3\r\n+AEJbQjT4BVAV7DM9JT5b0P8feCBgVhGhKxRxHbQIbFwnmboH/+avuxQjUOC\r\nJyD3riznWdVvEICAmOn1nVMGXd7qXI2uB0Xd5iLu/AuFaK4d1qg4pvBFW9F+\r\nQikuMpHDZw0wPhamYnxKUuZwIYPhgyuYmPMc3dokw/xOGGj7H9X0HxPPH7A/\r\n3vCxY/dG3vRm8t4BsFJVIdLMKCbZHBquMh6c8ZbhXx7VbD7CfNnvAz+5kjhS\r\nL4v+l2q8PJQvySGYlVmmpovdzqVZ1POjE2SlFJtieAdzqYiZVs9AJfpfvAgq\r\nf6lXSu0cIsLIhDBZYOCwoSiyp/g56NRJ3p7OvSKPt1v20QugufjkC6Hkdjcv\r\ni/8HYISE612L2bWzdGSHObH5ozUUmKgHskX1B0Mtu78R5UmoH8kMR+Yttw0N\r\nHCl+zkVzRrIzjsJp1O7Gn9EqXFI/PR9vYlkOJn1Rq/2xHdXn+Bcf3ZRXQVyG\r\n8FXXtzIOGcmxcPPyIUXXYud/psWn1jt6m/M8R1NF3TQKw5AVfCfBrsMhxnDK\r\nLx+dOy97PMDAXRuHdqzbAK47IGwFIGAfgKo=\r\n=ZOhn\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"a32aea02dc9a4be0ecdcb0c1e89c7d9b2861e8b3","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.a32aea0_1676329237749_0.7990730856262365","host":"s3://npm-registry-packages"}},"0.0.0-experiment.77e4f76":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.77e4f76","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.77e4f76","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0ccf3ff15d816cb1ca7c88182deea8c91fe00b5e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.77e4f76.tgz","fileCount":243,"integrity":"sha512-Jt2X4b5WFwwfhSZg0egtlqsPTuqMBzWJjmXUQse/rxVfLW+11DvuM7UlhfqSbmTtT1oeaVk9dbIlF+DfYXo2Hg==","signatures":[{"sig":"MEUCIQCpTDDCEBw4YUhRn2JLDAQPVPnmcqOX2vfnMTi/bcgkkwIgd7YrUmlXoumxybIFtO5tYU3vpjF+3ow0dkqH2jLIJ7w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31418817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6sKYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpbgg//XqivcTWqnd/vQSA7Z9yD7q3n5PKuelzeG7gDTF77GKlW6ydh\r\nS32w5FJ1uXfCzUZ9/hv3CBuVjAAVacjK3TDyobPB1IK5ZfPKTfGvmmr4PLCG\r\nHLWuhqlNnwizyzeDhdvieHYdA9UB6SLQ4haL+Lz+ZBtiGAZiGim2pewGyzg/\r\nGMHdUj9dseU0e+3bK7wmNdjYqVg/MvbQs4SbtBRcf0/H+nkOcdF1v90pc4ni\r\nX4f/AqxMj7uEuQV3pRXJh9kWYbtN+ejWDxSBT1jY/s/nQNf9Xn0MnP6jgLM/\r\n8xte9c7rUMmye6O+iTAsoU1DKDAfHPnLETPuHiRTImky+4qLgonwUNSw+25f\r\nu9e1Ks9RCuKa92g9aO7ldW09lflA1HJmV0rR7iXuTG+Yh26bI8DbHmRNEWh3\r\naqMZL+kxuRFzbjjae9L2ZuyDmkYtX/FKJKNJ4FUCLPunmlGDh2jgSPYqjEj/\r\nTJrnMR84PnmpieDHRdIlaa0HSg3S9eGEWeksBFVD7B4Kau1PUCBRe5B1uv9E\r\nNol8X2yMTZWlGY/q8fz3+TOugkPSAGpsk7fGPpHVYHH4i2quDzkBZZA8ZS0e\r\nNkIaLZumMOU7rCCAVUBjDFcjseQNLmUU7lOhcm7PZWp9K+YwX6Ow07fw/dr2\r\n4+TlDfiyItsQz70troZCVbHiDtDrx/Vcmn0=\r\n=v7i3\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"77e4f7673f9cce104ee2a897fa85b4a74010a5fa","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.77e4f76_1676329624095_0.7957176409723832","host":"s3://npm-registry-packages"}},"7.1.5":{"name":"@vouchfor/uikit","version":"7.1.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.1.5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6ce6e78ba11ee156a6583332b11d769602d2bc47","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.1.5.tgz","fileCount":243,"integrity":"sha512-hOkHr/eu8fzSZGiFIpFpaIcW7lV2JvpGXQ9orQPe78vreVu6pfWhVGi/rBLmgSHw3ZCQfK9srYFap14+E5E9Ew==","signatures":[{"sig":"MEUCIQCD3IFGrkegddo4w961yomj+heFC8Zgz0jLTk8tvRZkKgIgYrwtND71un9udvGIhqSk7NTObu8N/bOwREKiwoPYeJA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31418798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6stCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJPg/9GRDFcxoc+ig97ZLKpi4mgLwQJwEsF6SaaQj7vI5c23BDFnfR\r\n6jN7vGxVPD9BulzyWIjae0MBYSfrLZXN0Mx5qyKX6PuCOLwV4lhImaIU+HVu\r\n8C7o2AHRtWmS7u9XobeZv80Nm2tDsdgmqSDmullC4n9Ds0ovQaBwwPx2fnWR\r\njO+o3hGXmIGwon5pvnPRrUKjjK5k7M4ExR3+zhUYQxYWKKBUCum03Fio6c3L\r\nAJHGx6ZZWOqLeSvh+9BWRxevlcvV9yci/ZcoiLysiLqLM92o0Iu55OnfcQnw\r\n+SZhEpXI9MEI6c7iSNCIyxM9AXsGABO9OAokM59aalU5AOqY1mgJpUBpHmW9\r\nPu3iFpRB3zQD2CkIsj9U6aAzWREyQAkqTWrd+66ngHuubRoWDpPegMUpLW4E\r\ny6o0RF3kJtnI3HVzDFITceOVZiZcNCXO+eymIKC82kxHA/CiY8x9wrO8MJOp\r\nhgbuDtVP9VLcJfS00TZ6p56aVmESTpujNyCWBP7OngRxDyEF8XYNeuJDqNTP\r\nQhFqZwBsKEfUOxgk3bTSn9y+ViHKVkTxfCW47BTPPKyBrUPPLCWbBHIDXFoA\r\naq4KrqsVU2Tg5rxV3QP4x0rLgk9bm2JcPLB04zJXhXF65FdAGQzWTV7GQN31\r\nrXbGi1SoeS6DlfBFYQRN6KnKeE6VbYkKIZ4=\r\n=eW0e\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./components/vouch-icon-play":{"import":"./components/vouch-icon-play.js","default":"./components/vouch-icon-play.js","require":"./components/vouch-icon-play.cjs"},"./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-icon-close":{"import":"./components/vouch-icon-close.js","default":"./components/vouch-icon-close.js","require":"./components/vouch-icon-close.cjs"},"./components/vouch-icon-pause":{"import":"./components/vouch-icon-pause.js","default":"./components/vouch-icon-pause.js","require":"./components/vouch-icon-pause.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./components/vouch-graphic-svg":{"import":"./components/vouch-graphic-svg.js","default":"./components/vouch-graphic-svg.js","require":"./components/vouch-graphic-svg.cjs"},"./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchIconPlay.svelte":"./components/VouchIconPlay.svelte","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchIconClose.svelte":"./components/VouchIconClose.svelte","./components/VouchIconPause.svelte":"./components/VouchIconPause.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-icon-arrow-left":{"import":"./components/vouch-icon-arrow-left.js","default":"./components/vouch-icon-arrow-left.js","require":"./components/vouch-icon-arrow-left.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./components/VouchGraphicSvg.svelte":"./components/VouchGraphicSvg.svelte","./components/vouch-icon-arrow-right":{"import":"./components/vouch-icon-arrow-right.js","default":"./components/vouch-icon-arrow-right.js","require":"./components/vouch-icon-arrow-right.cjs"},"./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-overlay-play-icon":{"import":"./components/vouch-overlay-play-icon.js","default":"./components/vouch-overlay-play-icon.js","require":"./components/vouch-overlay-play-icon.cjs"},"./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/VouchIconArrowLeft.svelte":"./components/VouchIconArrowLeft.svelte","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./test/components/VouchGraphicSvg.spec":"./test/components/VouchGraphicSvg.spec.js","./components/VouchIconArrowRight.svelte":"./components/VouchIconArrowRight.svelte","./components/VouchOverlayPlayIcon.svelte":"./components/VouchOverlayPlayIcon.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ebb9c526c593225adc2debf0eecbee96be19d90c","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.1.5_1676331841598_0.317931833750116","host":"s3://npm-registry-packages"}},"0.0.0-experiment.555d336":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.555d336","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.555d336","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d1031df704c0c7e7783f5c8e8fef6ee8238fff48","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.555d336.tgz","fileCount":251,"integrity":"sha512-jHKk2iyx+aC4qKmrJ8NF4P6+zyGYmYPnC4fUyHrat7gVVNMeAdiV7mEKQgR4Yg85j5wPjbVwPlgBjriGYAfmYQ==","signatures":[{"sig":"MEUCIE0+Pirn0nrlsDnhXJMOmkWLnsP8XyDpLZfgSx2IgVlXAiEAwQBYaznunGa0kC8IzCFGyoO0po2FOXyKNVXzjgVpV9A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31481497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7B72ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp12g//d1YjZ8rbawoSaIipyWLFA6iNWeIWEwzpHxaP5BxWSsiP5+Tq\r\n7YKriQJho9KhutkRSb2+m6WcSdJFg80AZVP5kjS1vwc8h1WTCQcc8TFvH+A8\r\neMPNblJfTCkDw8C+s1qp/At9II1nyaFTrIDDBZinZvZtwat30i8HYQlKx0ar\r\nkrU7MXdFfU9UupeFTZCCWbfzXZmafSEzT1d9Xly6trkJOPAgkLYx+g95l4qR\r\nlWV5Lz3DfCQmhYzx69rx9rLHQxjzRz71gpTEfLRxj6x6Dpr6sFlNmpGT+5pQ\r\n+9estUvki16PDdCfqdRWinYzHUsoB6/o0R0QUG82yXPN9WP2xyNHlg0rE+xP\r\n0xxXei8UyuE8PRMf2dvyzI1oWK2AM3PgjMs3eG8tAT0lecWMiLVTzttZRxKV\r\nN5dIpTjZDoV03VmP+nSmDMyW7wUEbsdNHZ/gCMbi6WnI9Gk7gbqdgJiC90/P\r\n1CiCoHPrgNRoKEOgyp11cRsbCMytIiODbjWBSn/hMIF7IZBo+4L5rGSDpSnD\r\nNYznxJEqs7uVeJ5muBsnOKNMeWzSuqd0c6ahUpBSIXy1h111nhZ48koP2oja\r\n3IfKBiEZQFjTJ24uJam0Ub2VJg57Nq/nOLF7zdwpGI+cEl4VVLwDfv5QU2K8\r\nBFWXvZ8xSfuPoBo7pCwBiCcTn1KRcB4mO28=\r\n=/6JS\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"555d33622689662ac3bde1d490ec61fc6192897a","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.555d336_1676418806180_0.5151448257860778","host":"s3://npm-registry-packages"}},"0.0.0-experiment.83b1e06":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.83b1e06","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.83b1e06","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"98e702b7558b7a354d66ae1bc09e13a53392f1e7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.83b1e06.tgz","fileCount":251,"integrity":"sha512-Npp0HLOVV+rDXzPWPW2Cw5nuh/X3ipoqU5JwaQxYdTsZdh4Gt2hjhv3+ZMdMnZZRZnxNuXziIwq4E0zZ99v9Kg==","signatures":[{"sig":"MEQCIAMoj3N02Zv/orQebPHov/iFPl6Jd9hggDrub9yTfD8sAiAjfOMg1bmK/SuQBmczPaVvVlzIzkIyrjrkEb0raXVmDw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31481635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7COLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrfsg//Y8hcCxB5DysTwFJicz3/ufRpdxwvhapR9SP2EZUDm2KNDeHP\r\nhi/faPTKPdwuNe4GuY+LhW4y02/GW+caoSjxXr9CYYbUVhmeVkdP1yzDR1q7\r\ny+fd7e5n0YD87dV0Yji4Ly+CBmmIv34XwR/YuRr2FEek0ocW849hJfD2dsXt\r\n3cBV1FotfdmHbK4HH1Mdi4TiTG9FgzEiE1C2fz2taS8qSDfRAF8sgQ9sJY4P\r\nCCfPGHghVSJH/MUX+ulTnMcrWI8yh8vRwl/tf/CQeETU36stTcMzjY12vu4G\r\nC35qCsNkfKcnqI6CLsZFBc+t4wOO4AcVvsEPa9/rIHwZXMchsSW13RPBL1+t\r\nKBzPwKykgLIOsv3iVgEB7HPgmNWnkzMt/xxtrlu0lL6CB8yogd+zQ4QUcc/O\r\nT+HJNUeoxKz/9mH/hE4WGX+O+2lVfnQ0LYNjyhQxRMAd2wkUyaKh3WUZRLW4\r\n0teRTjAMWapi9H03JCskdM/C3/NEX9742ahABeOBHka0w9vvarl9dUUZMcdQ\r\nruzjpT7PNYuac52p47XaSV93D9LXFUr+l2DOaf/byTIf1hqbC96QXYDwaC5Y\r\nbAIAuDKPhTpwKi3MZyTGtX80VprUdJPDj8Vg4GfEwPl8FiNFe09pJinFXAA1\r\nJkDPvmBif7D7VsaAOspAtsvpd60bnwqUrOk=\r\n=ELU7\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"83b1e06dcd169b75dc815bcc27b36fbdf8a28237","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.83b1e06_1676419979465_0.06067098408499483","host":"s3://npm-registry-packages"}},"0.0.0-experiment.e45cba9":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.e45cba9","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.e45cba9","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"89e1b66fcf21aaf42bfb2bd9b36345c2f3252e21","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.e45cba9.tgz","fileCount":251,"integrity":"sha512-wye+IvCD7OXSWzWDnMHY4gUmH3MUxBGiDFYOXXmwOEWIJYDPTQFhO4FwBXk2sFm2JSLDpmsBi1hl5wJdMpKo1A==","signatures":[{"sig":"MEUCIQCQliFeP/3U6dNU3h+CZvMGP00/oIGQqFXkdREFSiJLXQIgf44S0dJcauQPKgeEEIiG08369JLIGY9GuemUFCw3LXY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31483408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7CtGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2og/+Ix3i0wvIVptoxGcb9VDs/fJgc5Y4i7vhP6H8PD26EXeBzPaY\r\nM7uueigIy0JJsn+MMB3p82s5lFoSAWjUogyLj6xSZ00xmtaMFYPwjA2yoyi/\r\nP0lqKfgAK+J5PVCdMZDOd/jUBrMi0hvpFSWEIuJVedSBGdBQHaWmfqkuMUC1\r\ncHk1M6p8xLy79jh7XnzhnsbbT//Nn1OYQ0CPtiLLyezejrOWC/MLwgjpt37u\r\nT4KS5dtoPp7DPFGG9W+xLXnrcYJknRsbtPi/tb2ZFfww+zU5XuhyLTWdsAGd\r\nYbfT0h/ysLxn4t2yLI3pcxGlJ59L68Uafy5CZfbRGzh5Q5w+7HFlJHeszMIB\r\n8+xtmHPOWXKpGUIYRvEcO1JAiVnZy2ITRh75tJrvS4SXsZu+JqMXGvR/5CPW\r\ntF8t635+3AbYIO8Dm8O50W0pDhv7naZ1EoOm06LCwI8Iw9fSBtdmVs+g2QUW\r\nBgRjh4hSgL6Zq93BhQIthLjA11fIRgcSXJq8tgexMdUO0tx2dMC/N88TsYvp\r\nnWu7o9Jj30a5cHKZS3lvoZRMpIYx3/h75lonNQG7jHHBjL4FDL6nHg6JewzS\r\nNOpSJ5IhfOhKsm34gUdR+iKBUqbWOm7Q/8WOc0IH4gCYdisRwmUJgSMgJt7U\r\njUvoICx2kJ3BqGA2BFzJXP8CiWSCiDymrig=\r\n=ehDI\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"e45cba9a1e24b4e6948d4b834172416ef9ea9967","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.e45cba9_1676421957669_0.3546526615465344","host":"s3://npm-registry-packages"}},"0.0.0-experiment.5c0e153":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.5c0e153","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.5c0e153","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ceab8513bd33ee012ad8a14ac7641f50ee208157","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.5c0e153.tgz","fileCount":251,"integrity":"sha512-O1rLePvLVWtCEODc8L3KdzBg+TCM9FobiuFscjjhtS7A4MBJKIlEUhOV4tP80O1OeOV8YWzkBbpNEXV0GttSgA==","signatures":[{"sig":"MEUCIAuWT3QUWwjv513mQssMTidPTwqGBlfF1PdtQ4VbBERFAiEAuAlwCfTScur5DRUU1EYqFgBXxbmbeekUtozqLiIi7nU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31483408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7GbaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmbQ//W+En8vHZTmcb7a9Csw2MQe6Moqy5FbR9Iy3sbB8+kIJJG9Vy\r\nqMhCZyB9SQmr0yZMcZ20EmC6vHMI6iqeKA+nWbEmNzwirjXBcjSoBfcuDjuO\r\npKIKrmS5pXLCF22ze7GAOM1C6W7HXVRR+r2Yn5EfMx3analXvKxSmlueYUkB\r\n4ixSBZxhfsa0BBomPdLOU272vPkL5vBvI/E1nwdUBH+6aR8Co32lHNvuuzXa\r\nyByWvlO1vHNu4OEOqUeBMqMzfc6S09M05nnpmmMY7b73v6buS7fr9aLwfGyP\r\nE3PWmfz+kHj7+57vqVu9aJ9RcER4QaMDa7nERKBITWOb44hv/vALPJ7rH4wA\r\nTVqlMIQNaxsrFz96GkKqu1eTOdiUjsDJHaHV3XMDQx2YYFv3NTa0nBHz/VXm\r\ne68dADQQL3emF2dU0CjBcLnjv2uJsRgvPTx5TW/YhyOzC+Oha+elJfhiHx/z\r\nzhYa3z48LXvRLkhip2GzXR3lrqzBUpaOoBymW5O05BhrIpEHKaGWEHXUMwDp\r\nGmD4GcmXyGpyfjp266OhG0pTblIdF7qB96Lhr+XyBazbvkrxCQgrtiYBstKf\r\nEndHyGXyOirasRTWQSapxP/qIyrBRm1as1iRYL+lH+X9nCFC6YHoFYfp307G\r\nVsVn7BJir9Qy/gg8AIkTt+kY8hGiyqTnZhk=\r\n=46YO\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"5c0e1537feafaeea2e4ca572c51e4f545048d770","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.5c0e153_1676437210569_0.07102416903054709","host":"s3://npm-registry-packages"}},"0.0.0-experiment.ab6e146":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.ab6e146","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.ab6e146","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"591b5d1890e1ec9d5f61978e43a9948a73204fba","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.ab6e146.tgz","fileCount":251,"integrity":"sha512-5ylzqVkcxD/YWN1J+IAjoAmTCRJ9Oj8TYx6dRAMiE9Tf+G7NVVEn7BBYBY8XASgv/Rj5fCpHigdBwkSzFDA5jg==","signatures":[{"sig":"MEUCIBc4AJTX+a6xpo/XKMwGD5OBHnt+mW4OGRypW1g9Uhg+AiEApJ5K2IgJ0Xu/KMnZsBksH6LNuGl0PxCjH6Lfo/uDmHA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31483408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7GwhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqfxxAAhh7/cYh1VDCvyS05JLl+w3/lyHloac9WayywAnMiuH+BytGC\r\nKoXNRGKKy3jLEMA2/ON5PtgwCtZ8Suh0XwIr08a7WYz7tECggfSi7M3IbFIh\r\nVHIYZZWuCs8mfbs11xKSot2HMuHpC7AJaAyMyT15Ac2UTwNDBw/oPzwMrlUN\r\nAs3jEdvgJyULxE3NyOQLYtckne9TvSHe3Q6sTvYpIw1/xdk/hASaPk5mRWHH\r\nxQH7pVuHLai0qhfFINfh315ibLDH6bzD4lGecxRkCwQ+qHSkCENGcAEyK4wh\r\nQYmvcsEd0sQkhCaZeFRp1ENs6DsNkC4gR4y/YU+ZYoFjEXD5Fx2RsBcFkeyp\r\nk6f59sQtcEko+IOKInXDerLfj+f+C/44cGj2hubfewHP/iSXZ0yqh9MyBv04\r\n8PmaPJY0//ESwZPez7co7aCcSkiDhNb2F3hsClIQx24P7Afb4d/q6StLk6+6\r\nokV4oAg/Walh5FHLAmf35fT0sDbMujEOeAz/OVvI2dygkvsUkHn4NmO33DPa\r\ngBiVmAzD4w8fWdH/7+QPi/kwdw/Pa1UL7N1oToGHR+yvCLskZI06oM96Z5J0\r\nvW19A5aSVpSqe6K6JmtXScKl2FRmUx3ujk42lPUEzZemfsGR2LsZDwMX9ZfZ\r\nsiZNUgUcEMC6R0gOD0JvCccvKlcWaki//Vo=\r\n=zGNP\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ab6e146c1f81d46d4f44fdf93f60b093f08a1313","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.ab6e146_1676438560737_0.22252643971638997","host":"s3://npm-registry-packages"}},"7.2.0":{"name":"@vouchfor/uikit","version":"7.2.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.2.0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e7f3adf8829c95c0b560f2006644204cea40b541","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.2.0.tgz","fileCount":251,"integrity":"sha512-l+HqfAf58LsqA/mkraNrWqilu+KctNx9puLRk5m5y/5ms6J4j/0KKI4GC8nNQTX5dVu8KlW1TtkiLaZDtOcdJA==","signatures":[{"sig":"MEUCIAL7tJlDJgn4550G20J7BE3ffQ7fgKQZv2CDnpKnnmK/AiEAgvkMbWjVLuD0cnWAjlxZgrHkxv1nr3kp5AV7a1FNJqc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31483389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7HLXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLzQ//WeKgX5fbHoM3Ey1/Iiq6tTibTn/9cdurSAG5Hjn7H4N03LAt\r\n/1u65Lp5prkBRa2URzhRyOX4LGeYJ/+mA3P/qWicxdtkBGCl/dGq6ac+mskg\r\npptUQWupLgpeAO/gQKBQJ2CBlQ1U/jm+QEU79nDMIKHeJCHzmznmpagp7UIz\r\nBDtn66kJ/IboDSeMHUkhzu5rO97pitD/OcV7IwNL9YOUtZOKr7Hcnw+sGTuq\r\n8J5jEhXgq+GXl75WXrkxQZ75j5NmKtxOE4NzhGc8HPj8ANvdYqdGOHjVFwE+\r\n3mD9rmS9JpAFGyfmtTzMx4jL8SsqxgWacuxdtd7aQDNHO4CalmPsjYPo1EPi\r\n+2z+MKkqAA1ZFI7i8Zde2wUHDfUKJswYBVXPz6vaMNEqFc5VeJ7DlCoZxyqS\r\n2/DGmTnrJp0eJR/5Qza0ux2wVgqNwZCRFrE00jbt2q4QTAZRoDER3nPpd95O\r\nVCcrQiZ0eavwV42vPNK+21UCDsPOTQ75zufsTghlnToEEQFfng+mQfYVnmny\r\n9o1B604pZPXl8MmH5Fj4g6cN7lX4qCOXh/GTEeYem+wljMAYVo4GJk9FmZUZ\r\nNb33g1C8o9hIO4T8dKZTg/oD4UVW6lh1PK46dYK8P8ul+TfhzaH1LjIHcXSo\r\ndOJtplwwnl/DSwwYtuCi0M4wsg/Y+VMQzVM=\r\n=IrOL\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"767d2d40db5828b35bc3165c30fd7604ced4ec50","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.2.0_1676440279166_0.8433610644170078","host":"s3://npm-registry-packages"}},"7.2.1":{"name":"@vouchfor/uikit","version":"7.2.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.2.1","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d2c40d5a29449cc076e1bedd85578e6e93685e43","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.2.1.tgz","fileCount":251,"integrity":"sha512-iD/YvKBqjWVCxgzQCmKMyGtgN9bLMFg0J9mmEhJng64kMF6h3kL4aMH8i3Q+i9met3jGML30JlvwmuRdQkUW8A==","signatures":[{"sig":"MEYCIQCePnaQW2Ga7YRJODymbZGnjDNym37r25cu8G9DRuVYqQIhAJDjLHTG7nuvOACsqBONEo9TQdREXGnHr1IzEOzq27oV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31482556,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7cLkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoHew/+KTIeZx+hNfN7+/IlW5enbbY1h/A5egCYnht/XugPL9t5QsnW\r\nVPV4FXGnQhRomzwCUikskZM5O1og63w/2cOGrC4bRZOE8jRf0aZxZcNapn4k\r\nbHMciboeLP14vlC8U8ijm1JT8drePVVopF17OovxHJDCryyy0VmNDRjgdnJ8\r\nhS/A7xH1Ccne+kT7YvaZEpeXKPms5n51ktmkLr5uKTTeUNt2NwToH73rHilJ\r\nugEIddXVByo3+aO9eh7avCS24tCjFu+Lt7lyWUMQe4LkuVu5gDJaFqw36lgm\r\nGcCnaPwrNEcJxsoR3lY0hzhc7UovDXaMzhJhDAR66Yiod4XEnlwmIUet9opX\r\nBUUowT/45Xurfoso0z0vL/tgcGpzHchX53tX99H967MVZC+zgQIB8CpM10XD\r\n4cpY0OZ6/Rh+ZtNbbWkWsGe2vPb7hG6rLCMF3DeCQf6HnQO+vxl/xj7ikVdl\r\nrnaZFRkQllcoZB/WDmdBD/0bnqY12GpJcsfOwJc8tfbD2bV5OUF2gwg5vizb\r\nyDZ7cs/NajmtvfjMy/CYNe7eIom0uFDiO+K1cU7B0Hnlh8+mnus+TRenUWfR\r\neO0EA3nfB+lDYzlJDKJP2beL/hTayYv/d5UPRVYaRmIbhHtl3b599VRt1q7X\r\n3fRJNRLuVv/KI+ygTgLWr4VuMTpxxFLiklg=\r\n=vsxV\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"c5bfc0ad91258dd5d00089f0c5c2fb17290e95c9","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.2.1_1676526308440_0.37670678251155376","host":"s3://npm-registry-packages"}},"7.2.2":{"name":"@vouchfor/uikit","version":"7.2.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.2.2","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3f383680587292add510c0d7b92061ecd8a0ca20","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.2.2.tgz","fileCount":251,"integrity":"sha512-xwwT+8oZz1+hKHeSHyiJgoNE8vWxewnHKzZlLDhevr3EVhz/HS83YleoxIBZNiyeq0z16D4A8qWb61fBG/eHoQ==","signatures":[{"sig":"MEQCIHAii25UEJcv8O0M4oS9ZlcA/fUO4OyRdRHdo9AMUS6KAiADg/oNAc8RGo7xEtAH3r09kHjwfBW/jB3KoW3Naa1b0Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31482964,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8sGaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpH0RAAnFAnh4t08YG6AmhOir4bHVKMCJI5iVHDKApBkF9Yg3NygqQ5\r\nGphfMH/p7XCgw2+vLtHPLlIqlJBVCJ928nlbcCGPT+aaXyKxo0qbSWn+VRWq\r\nGJiVSZlmbVoIu+P1O4CM/WM12jWOx9T0WvXG2iSYibagXOHNiaTEqjok44H7\r\nDh5J2RfeL8nIpCjOW9RHid7OdmF2KxkqEs8RHSWdeuPI+6ujKx8UE6hXs55E\r\noPdPp2Gd/rEhow0FU3RZX/RCgmWkQ7Twti227Ww/zcX7OiG6djlyNcQ1S24t\r\nqMQmegvbrDRj35WAsSqLP0q5JSZ1JPbbfoTkY9o/tRc+4SKEQqZR4YYMuie8\r\nz95s+MuVlOFr+xFJNB1qnKybMgJlH7+yWCiOv4isfgFnzOVO33R7PyPg1m4R\r\nt7KWplthan4TBhmMBS+fj93Ev0FGfelBbnzH0nWjAzIvxgVnubMX4Xnm1V4R\r\npSJ1JsIWD8+L4CiaHxlUAdFmz1qJ49ffJZ1t4d7rBJV87dfNVbLBMCNSA9R1\r\nwBp18+ygMpXj7eHHUoc2lYIpwqG8jzo/cLi6LqsPHDZ/uigFrrn2YGq5wq5F\r\n0hQdXMazN4KsTfKeGHbEOVhR/y4it2ZkPJ3pKdB6Z83hZF7qSbwy3qFXqYew\r\nnYdsip3H3NRc52FV/pRd2hWTPnAr+dof9hw=\r\n=AiyK\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"9b7418997968ddc416fdec5e526d0afe3f32a98d","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.2.2_1676853658214_0.5372499973160287","host":"s3://npm-registry-packages"}},"7.2.3":{"name":"@vouchfor/uikit","version":"7.2.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.2.3","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a1b1998547a7aa7bbf4b3de701baf9e13dc3b2c5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.2.3.tgz","fileCount":251,"integrity":"sha512-Tm0hP+OZK+5LZ2oFU9i91iAWRdr6W8JuRCDyblKPZWbRjIF4BYyO18zvs+HPrnvZB9zu3y/belGCW/e6VmCS4w==","signatures":[{"sig":"MEQCIEpIIWe8wlAKLYIkJnslP4O5YTcAdgZSUyOVj6MNFkgqAiB3KL68o5P9ZHXH3kiwHt5SbCfMMVDi2+3TPaAOOgFgCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31481958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9EyOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomlQ//fHJt3yf5mPi8oraBzBcZyA6xHFynm9wSLDYB2FzHtg8cbe9v\r\nADt15mvECknCxpu01Z6EIZFfimdJuhQqR1lxblzFLUFPaiRPL7/MoNUR0nI7\r\n071722kAG9SF/B6xyl96oTo19TaATEZ9YHbbtbM2eD28eJRvPEb6Jiw4YfXh\r\nCesDvjIV6OKZq9vE/KWa4rPbB1dyXqqd9Hg5imZ29O7mO9+JEDFa4ZySXdwE\r\nZywUPRl4lb2brNwFWVEqgOtonYOwqELU1MSz9ekfTVFzfahb02rG1ilNDB0Q\r\nSMjyvdV2W81TY9tuZDWu8GMjc7sbmwRF7On0DEeIPxzjXCi3qR5TxUJLFLGq\r\nBTqyyrAU/iCot1N0AAj3KlLswdiR6UOcMQexaGnQig3ThlcrD/bJGwNY7iOY\r\nz6ZXkNOHFVDcFYTJ99rCv2PjyMCcJ6bPRGEdbc+St5MeOx9EpTTKjoYCR9lL\r\n5kqwkNm5AB4RvdX4GDPdNVNXDfSlcxZslrxdg2FkqOr2cvsTtPF+h/ZyFo/u\r\nPBElcgj6ImkuU68Xqq69QjTtjnctzKEeZ5hxEGnlWt+cbEQqSQZmDAp2yOgh\r\nEG17oLkbft9GT4TCgn7R9VWDiLyp6dfqYsjiXuDcYf8PLpet+g3C5E9lj/lO\r\nRTDiqmlg/Hhtlz5NzpYARoyq50q9HO/N1j8=\r\n=yPZy\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"b441f171e5f8ef2795088ffe0f102e36626b0fa9","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.0","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.2.3_1676954766503_0.15795949109661822","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d28b424":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d28b424","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d28b424","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6f1ccccb16c29fe1ba9791b449f964020832576a","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d28b424.tgz","fileCount":257,"integrity":"sha512-Vakh1rpxBD2+zlzYrJssQdHe9cCvHFNqRTQ3nZcYGKKBJs9+WieITSxsctyi12051MhkaN9e0N7AqpAekkEtFg==","signatures":[{"sig":"MEYCIQCZlbs0UUFt++2O7QS8bntYh3PiVojBAo94zFoScIxu1QIhAIxUTUNct/6Pu0A60iKLXhwx006tfevsktP4+gs0SeLL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32420737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/EEdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkZA//a3wbf1woCh0ayJGe8l7lHWSPvnq38C6UwjbA/9g9xHwveiVw\r\nF4vHVQdPcMZFdBQKf5XYiYxbpIhZckMVPK4QhysPDMf6FZ3WQcLjd/2ThxUy\r\nAURzfMmZw4bIX2yClwV1uCZA6MCpMvqlyO3WiN7W1dw6bmx92M/OoPev7KJX\r\n4zi+kDW+315uEJoipR9dDxWxpe7deJwquSfyfn76+Y1n4tqdHAbo1RjWp+y6\r\niN4thXAb1NV3gB/lAB6fa1LPFqMotHCYQ9oDTAtIIyXc21m691mc/WHaIFxo\r\nWKU65t70mEIIw21iPu/TcMD1w2CCIsUuOQpGL02xHaOy/4XzC6bYnp7/8DT4\r\nsqKVHAClyBY+9Rm7XoH4QOq0ukeFPxjyLpAmRQimaZkUQl+R+J4x8HZGWhQZ\r\nM70SJqoeBpuMYtSJjdcffEf3XKZCmc+RkKX2FN2MBCLpUrtNCRsdOZtuPAKo\r\no1EuL7P260UtxLKDAGdt5eRhDOLw076A1mKI3D+UaFFpIwr+/cmQeP6jyTAp\r\nj0tJGAqgMSwunux8sFus4SB6lO1aHJo9Hr6ha/3V0UCkmty32SAUlriQWltv\r\nTDNuKAeb7xOMI/h58ERtfym/35cqnEgLQdwxCW2QYPoLraNXRwSe7yobdhJn\r\nf+iZrGcgpoJWGzXgkPByUH6bncUgPfkpiJA=\r\n=WpXJ\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"d28b424fcfaf6e4793baed68c7d1b2203bdca94c","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d28b424_1677476124899_0.05515665399205827","host":"s3://npm-registry-packages"}},"0.0.0-experiment.52e1391":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.52e1391","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.52e1391","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2a206d251e861fb1c8680ae05e5b305c187ab99e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.52e1391.tgz","fileCount":257,"integrity":"sha512-f8ckI3H6GcpwMDve5M4iKni9cwMUqq6to0mQuqHl57SWy0G5geE+OHFWVcReFAZrhu7czXRqzmvNRfBHVa0XHw==","signatures":[{"sig":"MEQCIGJc6GgeqbCrP8yQISCfd9JzY10pScT69M5rGklRnI1kAiAwOSgRkXnaJgkkH2jqpVqPuOEq6yV6vGvyzz3FaakiFQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32420795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/EIKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJkg/6Ash9ruIRCgKX40qUGCFnitkbsBnyFhcgWxxU5tL8ZgXDDvMT\r\nv53zh2szRPS0CeHH29Xu6dYnMtD0dP0O1VoVUoYBYRonDihMFfRBsSxj3IpM\r\nkvgZ4L3GMxAglWdnZ9EspWR9r5qamfsjz3jALoqxGgtf46cUXe2CMRDeFP4S\r\nsFHroM3tp+VJ/33JaTROdqMuokrDZ2phbtlZTZzKwRdd2fpxntmQL32T5WEp\r\nhcdbe5psmao2CLzeB2vw4CQtthsPDMnJ/OfhEMRk3C8ySC4vLXBhf9IYedSq\r\nJbKseqh7RG4fS7xBeh5X5vxVTjt/S959W3eVqn8dv2Cgftxyv/8iHG/WEroU\r\nME+XbvxDoUDLeAl20lDWIJ5k9tq9LhYvAS0O9GnJFmEVeJGOZa/kQaMF4bgU\r\n75pcLmbSiYKTz7AttAUENjhmIBraIDG841qG1dpmmzJqtuYzUe+nUjx24CCu\r\nS9Lqm0K+ADcop1J4w2hQJGlNeWoK/ftT5tYQXPGkHMNPqdtkL1iZN+JutThV\r\neDm26uKZD75HXptcibUy0ErYw+mCKuAm/5OjJ6tQBc5WoLhyPFZkHOvJJWdl\r\n2N6ulCBPsjH/H2Myk1RkDe29blSUpF/veUfJzXScR21boAEg6Hl/UVmXe+vz\r\nA970VAibMl2tsdTdVn+X99NqJNqZTq41uHA=\r\n=yeUF\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"52e139194cbff49663c788ab5ef55be9ccf600ae","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.52e1391_1677476362522_0.5774802340192076","host":"s3://npm-registry-packages"}},"0.0.0-experiment.e99edaa":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.e99edaa","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.e99edaa","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"447e4a691149b2e785b302e0e7b80b84120f662c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.e99edaa.tgz","fileCount":257,"integrity":"sha512-ptJkJFF9HmzIpZdgOlr+AYuoeeyJaO7Y9uyfftU/kPUVzWFezYxjF0c3c0TBLd+BEsNmgOqzE3NAPU5u5P6VmQ==","signatures":[{"sig":"MEUCIQCuLAYfNh8JaavXQPGUTtg7NCerP3PeXbwpG1XJ9BJBxAIgBffexEFEBzZ8FbFhW12U+ajDZ4Td15rweL/5JbYkhN4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32414702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/ElWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrltg/+Lb2byW4DV6c33pr8YIc46iJKMHMGJb5xmDisDlK6S206oOil\r\nIYXxusMtMpoL5lgU8KXkv7hADYVNFf+AjrZdeZ/fXS4t+lB5kNO22cJfQo1D\r\nxj8HkUISY7gjllT7S5yYZbOlS69qEIchl29pXseXrBwEVFkGylIJN9DvWRcH\r\nj33raRdUeeY6L65PLnCA+jPUrvIee/IYkKcqBydfr84o5J4mVoALIKFIZL5D\r\nO4DDqs7yDqiDWBfYbs5I+9Z7gq/EcAnxU5VpOcuP20LgnYB5Gem33ed6ZocB\r\nhC2iKocdsuugB+UTt6H9OOT4mNyF2QDWGopmgH6F5XNSMDWMTax/pPKljwPP\r\n+YCaMqIBs/EI+8whXe8jMJjh+WyErEC9xWN4rszRG+SkQBONvPEIj9j5zsk1\r\nDlADMYPRfws3AQsZdL//QJEmw0UhdhRqzHzduHJaM31LeeTNBOQFJKuy9efc\r\nUVj8Sgn4WT9QwBB9dzdM58EiPzGoSmqNx37TWi+XlpyYYOmGrgSUEZY54mMG\r\npPtsc6qDoiwZvcIF+GsXK//yX9fnlpamGKGtI6pg1d17klXhMWLnhowV6snE\r\nsGnIwBPRKwvCN+9MVUAkvGsM5jqF/v/8hpghRJw6zM71T4EWV1r3Ql6F6ZEf\r\nry5ab6JkhxUtOSIwR2D2xGXZgzsf2cM3Cd8=\r\n=Y2pH\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"e99edaadde5673bf606938afa46308426525ff12","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.e99edaa_1677478230179_0.5144566374226143","host":"s3://npm-registry-packages"}},"0.0.0-experiment.11fc6cc":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.11fc6cc","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.11fc6cc","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a0fde9da6f0899e9384fec86ee9675a28c425432","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.11fc6cc.tgz","fileCount":257,"integrity":"sha512-1HCnkxKKz5Ep60hN228XeNXtwKO0295CS5hTg8LtCV3KnE9+BbooW79gUlb/tGFI9FfFi6WRffkoJgx6sVFdRw==","signatures":[{"sig":"MEYCIQCi+UubyWyJyjjFC4+5LTZAqVSpQZOWQxVjQL0tU8Cs0gIhAPgrRu2LuoYvn3va8E/L52eBo3GogAbZ/0nDIkuH0fgO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32417908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/E9iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8ew/+LfLkX9KBGxMVFq/lOehwjphd5CF7Fp+ai4TPlNKGrRSUvS7r\r\ntr2ifCuzgGOScD5vP6Z5N9b26tWgWOVm2P2cu0higrRD5sWfHeUEHhjM4mdZ\r\nkzagSXghenqgxVpib1wnnfzMNPr5nh5eqpSs2uHZboWLZvew79hcN3kHT/H2\r\n8tOzN8JSaxI9CFEjbRtFW6+jvuNHl91tkaS/EXemjyrvURYFBPgIzDCgSolo\r\nWEzNL/9JoVFkCROI7Ji6HHljiBS9D/U0ZMq/hPnHVcDbfcL/913tXaqYVOfG\r\nZc5lMptUk62+v1yIODUbYZT0Ag/56R/iMFivulqhN1F3m2FKXST7hA66Kyq4\r\nzsKN76+x4YJdMfCCVELUYxA1/CRwJel3yyKg0+rn4UR3S/VWDN3Rm0ObzwJt\r\nreIjVmcvN4WMvPwTvO/fqod00iYXaDXH+hJHuW5ovF8udqKgVJGD0YAOhdZ+\r\nvH7MwhOd4mFrIEfWp0JO8t7Ar5hERxHjMd+o+F4hCApRmzIxGKGHAqICacYv\r\n1Gb9YvYGunFkmkPfzNbR7qPFYYm6dsd1tU67LlaoeakHm6psHC4EYRf/2mwN\r\n2Ph6MyPpH1K8xE6+eWWaYaorMYmojFgzPqngTjUOSegALLf2cPCnT1S05GSL\r\nSfhU2BSDkI/Ur7p+laO3HdTUeINGVetBrdQ=\r\n=4YZ8\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"11fc6cc7bbf053ee74896ab24cfd94340f878e39","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.11fc6cc_1677479778242_0.7435752176537556","host":"s3://npm-registry-packages"}},"0.0.0-experiment.470e13d":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.470e13d","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.470e13d","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"ca4510f0972b6f383c62253e659c5d4d63a8ef56","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.470e13d.tgz","fileCount":257,"integrity":"sha512-9ksZ4mjWGQYSr5/R7BMLrG+riw90pmWWcg+g2sUfyYPFlZg40Y0+vEFnZsntBNUWiDbWZqGr5fb0PSoqSBeVcw==","signatures":[{"sig":"MEUCIQDFKhOumRY0Vwz/oH0as2c9PwtbVOW6h992xOCvPh5yLAIgFRXLlJMZm0shKmFNl2ejxNS4ivNGdZD+U8em7ftwUuU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32427550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/FZ0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbvQ/+P9FMNtPO4M4O5Lw5c4O6N3xLIyC+SD4JTflOU/ULtk31b7aN\r\n/ZAfvKL/sqoJaPV56JF+CTXMZBuF4ENANw/V36j168jISYMVD6uGTofGz4lF\r\nylaEAZUEGue21ROmFTbhbhjtxoC/5b0iHZ2LHcQ79f6PJd56k+njvWDf5zdd\r\nbVatfKevsySSBNrU2U3I3lMFw4M4bosiJeJ8qK0e9SDm/2a7zo1gQlNA1AjF\r\nXgoGXqoYN6Iam1U/yxRU9en+84+suk5rRmH9R3NzqpxKTHf9wCS9QcdTnruz\r\nms54XXHG//C9O/dJHI9/o+pRCtQ6M4bik7GcN1bQwzClJ6M/1oixqx0T8xSt\r\nsqv9cgYO5oSIf68TbAKBL24pZhhTAjJRdiGPCaNsAu03aLtdhLYG74Leudt6\r\ndgyERYsU5/ddEFv4aJ6ApB4DzCLXb1S1DN9uNrE7do48dwTGZQIxxMLg4Jxy\r\na7P3Dx0ol3qwUCM9v63TObaBZr2oWAhcyJt5VFSdq6sElanocibGirluzfk3\r\naF7F+9L/RoINeCAE0lZBy3ey4LCwHxYHim9OnryMd8K4K9e3CxftyJ35mRAX\r\nAmcJbDsPkTWnbBsDUBPnbs80rtlzDJDJZ9S8/jIT/bt5Bfg97MnGHDoj2+UE\r\nCRa1OPEdUbrZOvmcw9ys+pyLdeJNT7yyb7w=\r\n=ahxE\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"470e13d2493a8edca9e6c3de9bf3092ac65da764","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.470e13d_1677481588175_0.7658932754663585","host":"s3://npm-registry-packages"}},"0.0.0-experiment.c1b32a0":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.c1b32a0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.c1b32a0","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b7aea603b50e2dee2e747fa9292307aa3db7f7a3","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.c1b32a0.tgz","fileCount":257,"integrity":"sha512-yzwStDkJ2s6ziFOqlyr1lnq2pEhkZWKJitFwi0p49vqUhVlUPAqfNx48+j36DC3kgtCNf2b02H4FJCnK9XYUpQ==","signatures":[{"sig":"MEUCIGpr/ipw4whmfeYRhQxIf+bKtjy1ZgIT1ipGNCHxB95eAiEAiDcn40x3XLF+xwHGtNRhqgDZbCUvJNMUGE5nm3BJutI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32516740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/JLUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNaQ//SdOAiurEw91TZ/fWvxO9i6CjM4NQA+BnRHrgGMLGStacyptk\r\ndjFEHc1RBBJvLafXq4lue0wqvZpLTNiVKN1iCEnD1IgzWyrEC3dXRm1L/XAJ\r\nelgAxxtFgGjmtpROnWct3NEKH07vBtW81nbZ5m1MWjVrhV+70jwG58o2gzEW\r\nExJJEBS3QL14ZS/cYHJjz2P2hSEAWRlsBpdl81eibJRshKZM5KbrxdkiTnCX\r\nS6siueDV2nnzcdcDAJJ4aOuhJ17AcoVAsCTIICpdnhDleVQtRXDHl7koX+ep\r\nsllbmHPakxISt0XuXf9MIXYEyMbwsti2Ds5lxX2BLMSAeXvqiNCEmeU6AhZd\r\ntY3Ny9MtIk1JJeiB1iRnpSBmdYfXBLbg+pxZKbmmhmQi62JpltrQDMGUI2MY\r\nN/kuZUv1GesZeRddjgcRr1wbSWLjM2sdJyeVIrO6WPVpkG3apE6E5r++8R7m\r\nPCUnIuhK+Ql2tHrcloL0VK/2+xemyOaHFSFoL888Gawa6pniDGcJ8I/NpyZk\r\ngz5PhnA7d7TIUgUpJUq+EBI9N/zAqmnPjmczGLDFe34Ygvqg+Q5Awx8XETaR\r\nESCs2c6e6endgyKl7Fj261PtSsh3yX9VCTTqwO/VYWA7K0/peHQ0JXvkLxfZ\r\nc5nOMabAvlmD2srYuAqt8wJT7IoeEP0mMis=\r\n=Kp9x\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"c1b32a0e02d3cf422139034424834f46554db9c1","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.c1b32a0_1677497043873_0.5890794476789918","host":"s3://npm-registry-packages"}},"0.0.0-experiment.74d62d5":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.74d62d5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.74d62d5","maintainers":[{"name":"vouch-tech","email":"brian@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"516488d31dbfc9a7c4a76b433d9ba44916ae2d7b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.74d62d5.tgz","fileCount":257,"integrity":"sha512-vng/KyWCM5GXmA943ccSDCGnMA+CsStxVH7WcPAXLndSQTgsVP5v/EZtnp7iUhynaS+Fs9bOjYxKbkDQXdb7Fw==","signatures":[{"sig":"MEUCIA7UFHHjgY/Jk4WcK5K9foxPwehLj6mjUCKINLDnoezxAiEA2jLl85B0+d1notJzrMbg/eDuORTsmwm5hRK9OG/yASE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32528242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/JmGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJ+xAApFBgdtU9k7rUSwqXhPsJvaa32HlklC3S7/6pU+su9m/sidCg\r\ngn1GcFWhpoBVm33yHGNIaxyaSkHNuDAaFLmdaKZop+ofXQh+MHT1HWQCU+0c\r\nY5mWjcLZNDprw9S2eQ7mniefmjYeqfAAFgZtTVmUoURASJ8+XtHMXPUDoWv+\r\nsAGQP4k2gFLxpnmoT2QkrI9EToVRw+1N4RN45LGMjV5zUWZVMspygSNZNkUb\r\nfB3UrYvtvRvStg3YY2mKsKJTlQh8/AIbTb27BPgVJRXIDePLa2aUTTFU7J8p\r\nJd2zw4Vj723G/Ffpx4QgNcgBO/dFydMkRiETqJ50PKTVZ2gy/nYWq9kMZlmg\r\noenLCPxibJBzJTb14G8Ql+Wl3QjL5CzDEZ8b+9r77TMUMf2jJXsR7w60R/rU\r\n5dvw2U8ONQqx7v1wqGXiXF8MNZpEtTdOnwBhsd7kAeLHBwLGRMAXt/v/CcYL\r\nZ42wi82YZMwEZsDUiYgloA9M4wcib7l+vuiQCIziKK5NeP943KeVvAcnCqI7\r\ndG9bwuCaSnjOcV9rrwkmo2Izw345F5B1TBOIME9TV8QSyFNpfrvl160i7pzI\r\nZvdkyOuHocSccaYy/BgJcVFv083UknCacjqrwrIgBxECja8tngaJtOU7upPs\r\nI8T4Ev1SwvFJ9NSFeOoDcC89uFipwahDKRc=\r\n=gPj1\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"74d62d518c9a77236b3272c91abe14982eeeb614","_npmUser":{"name":"vouch-tech","email":"brian@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.74d62d5_1677498758049_0.9874833996918093","host":"s3://npm-registry-packages"}},"0.0.0-experiment.4129b35":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.4129b35","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.4129b35","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"930cb2117aa0c0f91728bb0385e7e56974f6613d","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.4129b35.tgz","fileCount":251,"integrity":"sha512-2K7z17BAryR56P1R0UU6VHSubkLxggUfLqIomXjVXlmW/gKklHd7eIRZnhuSb3kEvHK4dMVXk+4lhTtX6KOkSQ==","signatures":[{"sig":"MEUCICJO2FK/ODGSwywPlDQRo1HbHaD0yTJAMhXdw35jR6vlAiEA97cX16n+osiLxFlmM5vi+GZCnPu7+KjJNqiIpvyzh2Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31486629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCRnJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmofyg//eaQNlYILN3/CYcFXIksjtdIiXLtuljdzOP0ZCP2b93S+3EgW\r\nUFmA4PmPOwHg1qnI4MfaMebqPZ/8m/hb9ccrMm4KLolLL0tO8xPasm/g2Rq/\r\nR41Gp6K4qr3MlPXIrMN9YzKinauoDZ498S8Hf4lrkiehXUil5LFbeZJwYgGc\r\nWhR+CldEseE1zyrfxNo/MfBYQXxTiwxX8Uc9zxxXVKX7DVUepOjjXN+sOKYE\r\nCdXKasr7UkHnRuuiqHHI0tlUlv0iZi6GWo5YsBqVYP/rZYDlmLg9NGPuiWPZ\r\nMLNj7yrqD+ISG+/qBoYduUVytNUWSJz+RFKWszaIAo76bzofKVBGA+SIlOGW\r\nRXszbMUcUNGP9jVoB8mYZgnOT1JuhIitPoTcoK7atiyEeE+pXwIe+xYff4ea\r\n0ZyisGxnG5rFclvipkbEDUQf3sIIAD91dobdUpGiKibdxNGY5cHmtHPf4Pmy\r\nk/gfFKEM48iqrNHh7/I4Z1hcPtmRWFbzy+3YKuTBzn9eoPjZulUGmMbvT6XQ\r\nheUaLtwkxQ1pX+JogAJOWFFrv94yrZalQYDH2dvj00uvk6I8k5GJZ6ilItKe\r\nvqJ8xWAwUmPU6FAxZ+1tATIbLj0HpSnUmCuTFa4gDVCB2K/MztaDwP5GxlP5\r\nBt7R8WahsuK8o5JsCU/pATdRw5HLYgRsg20=\r\n=yAVg\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"4129b35d69234a6fe9fc376d5820d316171c037f","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.4129b35_1678318024653_0.3184563950595911","host":"s3://npm-registry-packages"}},"0.0.0-experiment.a5be2f1":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.a5be2f1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.a5be2f1","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"99f357c35fec6e9db543b2f7555c2c68bb97f073","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.a5be2f1.tgz","fileCount":257,"integrity":"sha512-tg08LZXxUN/CR8mQr7BhhhUUFHcIuXW9wgntGpEPUlKFCnpbs9PAG7QlOBW/2UtfOGKMFCxASzX10mD/SGIL/A==","signatures":[{"sig":"MEQCICD6HDbIxzS+W6PSnIB0CfeQ2XfD3G+Z2WxKHFjHdFrNAiAXjBU5iAE4FQwxwZiljHZyMvDFVoBzEWw474MwVc7okA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32536919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCTTQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqw8RAAnZYPida2H1mTgyUSuoViDFRB2aweabAobd8zwHaWmpw18Lt8\r\nnKG89w8Z/YnG8GAuU7mBqm6E9QgB8hHT9HBUAHCJBNv5R9538+jJ5XKu7CLH\r\nY0vdAIOzh3ErE/Y1a0jG/38cwsxx9ITBsWCBCTG+i2H83xjFtjbxOoieJvAe\r\nkRZiEGNoD80se9DE/gjnCvi/TVSdHGy6YHHbO48OBUUgynKuk8MTU8IIAo0T\r\nRMUwobbbDCcpP6xHQzsWtPeJiAD5yZK8U57dg6UrIwiQLoR6+vJPoZ45eKV7\r\nKfSkjNKGZEF51hEL5pj1z5ubQpqOs5IVkXWtjhHk/GN/3XSuYr9cE9mbffaQ\r\nPSELaIWieT5KpFDJoj/tpTVMH2ofYUTyhsJwrP1l483WQ20RO9DAs9xYzN0S\r\nfFSXzjuYberfLXsPjLqw8j5/l7QDA8XACLEOG+Cxr+uHo3/63sulu3pJm6wt\r\n4huZaFFVt6ziMPjNhrBBtux4JiSDQxXVznxM5gWa6Qt2ECLNCBLmUdd9oTX/\r\nxW5vBWJaSPK8o8pFDoS1B2TbBnGFqthNd8CXwxEg1RQtJj4lWQTf25F1yPIV\r\nTrqNzetTKsV/gPc7EJ3nxCWj6ORHCangWO3HVBebV5PaXbDZkzdPr57ijs2B\r\nzEQ2WZy7+M3e5fSMB2Zm7b3e3JWjoI4XErY=\r\n=Hc0H\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"a5be2f1ee459da4554badcb4018ed74d9bc31175","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.a5be2f1_1678324944393_0.21903406853997343","host":"s3://npm-registry-packages"}},"0.0.0-experiment.4a3082f":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.4a3082f","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.4a3082f","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b3023c5c53b8f19e431f4796059de753f727df3e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.4a3082f.tgz","fileCount":257,"integrity":"sha512-7p3d0HdyebNnyZRBp3IJSTTTWnDonn7LJFyOC/De6VWGwjjOFiU6R9C5/dEEn0OlgqPiIifotKCYNRMxNQ95iw==","signatures":[{"sig":"MEYCIQC/Ub/S4+p44cwOg7FjzXiYOOm/FytYVWAkDn8I2rhJjwIhAJFp5Zoat7KtXXAQpHETGufb16hFa3KdiATzxMMSU7mn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32536919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCT2eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQRQ//eM4nZaRry8D2mVlaMR9tM2fWNbWgPgfM1Urko4DS/1lUXYPi\r\nCogs7nr9yUXyw2XkrDFSClG6xxY+T7SOJyVK5NVqR8/p0YzjSXnd2WRIuMZC\r\no/pzyzetTw+/p7Zdkmmay3+NeUMKvb5g3iVfEMwsuyi4ItGGsYsmT0q+31U3\r\nh45k7tHSZJNhGB2FbvhRi7x8/EI08yJMS9hVs4CGSJW9vlnU3pX58kFD9k46\r\nzgvDdp1oXQ2zgbR79AKFKS8FqaznMHuLs0k6SW5nBBM2r2bQsqahf4ZU1E6o\r\n/wBjuU7gdH+pviNyV17iPgboF1iHwtJjzVDTG/yeVaeyMuf+GeMuAnns9R4X\r\nenI5VrvAOKqFmY7lNohX5VYmYOZQGskml23M8TyChVOSotva/6SJouUsuPkM\r\nop/8CEM7vT8Vjxs810IC0EqoWy8klwI3MzbMP2cSoR0I116Vy0cOMUKBqdVd\r\nxvJl+sF4K3HYGqCYkQ+FJPuJdrvFbeqfElVX9c7i58cM5HKb0yTMyyHJO0wV\r\ns45WgLLpnO6QH+O+s8Gfl7pTagBcitu62xpvD2g3H+IcN7TlxIYqJ6mTq4NJ\r\ng//js/sTJeo3eggdjiDgWi7qafLokInWeb5pj1Tryzl1QR3DjpxfS5LJTbdy\r\nJkrLJjEwgGWaFMyu2i8fINSaEN57w5h/MtI=\r\n=/wuM\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"4a3082f0940765fed762006ac7c8bb962b80c6c5","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.4a3082f_1678327198410_0.2504828216861499","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6a6791c":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6a6791c","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6a6791c","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"66838dd72e7b86b0f92623ad33fff98378fac582","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6a6791c.tgz","fileCount":251,"integrity":"sha512-cj39nhqNfYxKBbZVzxHZVoBWhvq6xxX3bvy4uiqp0jRxmlM9S8VY7ihzLvKLwSmUtxUVm+l/LZPyq4vU0Uuf9Q==","signatures":[{"sig":"MEUCIQDt7EuHDEmgY7/5mfGPyiJYhTHL4iUdPnSfOyJ6gqhJRQIgZl4XDs8GgN75TZXrlm7JoViux221CcyJwfTBFGVYKmQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31495143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCUJ8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/pg/9GAKbQVX9gesX8ULVor0zglz/89+0d6eLVj8fTyOsTXOCCqGK\r\n76l/A3HOXC/LLRXmORNXu4UFcqzy6SC16GpG/GTuUNHqwgiofJec6nr0R27h\r\nEiC9xvc1koJjKnQfIfhLSjzaraWBgu5qZdg+xJt2yS5OXF1WXfFUHsCvku+D\r\n8Zx5vnPBDl4DkuLA41f8Yx1xHIakRJ/JtRuSohwREJ30gBPj4teweneMTSRi\r\neEG59JLZWUfxDnux9wE5Oayr/io6hYhJkL3z2QxPLxB4Lad1jFgMmSeWE7JT\r\nUstd5N7JKBA4Fmyabt1hX0IRUq5RMp7Cbk6cdqqsQrtGZ023uaYBk6nRvw3j\r\nR9n6eorZ39aG3Kd4nS/iqI60vJJkkh87iA+hAV2ZdA+gHXjSXhypO9kXvB1R\r\nlpykpjCurcTgXlu3ge9kXXjtXYcbPalfMKVjG1GoKMJa8G0inAidG8nixSIn\r\n4iij8rqS59OAWtZr+GaoR6Ys4SZv5Wg/2rQPt0j9apNmSGScnMriIyIYceV1\r\nVjnA6BbVc74Z+Bwt5GmxPMODz6mXS6G0GFZIQCtKUuNX/vX/GdzWwX3GAmOL\r\nKZJjSrf9MmMlvOQhbC4nhfbB0w0lwnVWdSHD8X/G5rLBAZP+vmApgjAoq7Pp\r\nWU4Oko72ok1Wj2zk5IH4/Y6xWNZ9lEht28c=\r\n=ctYy\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"6a6791c78b88760e589e97797d8d6dfbf7fb2c6f","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6a6791c_1678328444304_0.7891141683347733","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6cbe4dd":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6cbe4dd","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6cbe4dd","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"cb631490d225b41804d0075727ba8e907e42b1b6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6cbe4dd.tgz","fileCount":257,"integrity":"sha512-Uk9YbT3i796SWFfNtYibwTkmNmIGpPKBT8CX0yIstrlSuOgNIGM015gpgQW4pV7lXD70Pinw7xfWmq461tJ6CA==","signatures":[{"sig":"MEUCIBBWY5/m5JynGS8P8yMQnkW5iVYofU0l5T29C9slsKf0AiEA20UEeUwI1d/lrKF2vtn0s/6YLV0FZj0aksh4IY5FLpk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32535696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCUfnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrhbA//cQLRgaUkrKbocdnFAROJPKWtCO5UaAxe1f7Zxmxlu4MBcaNg\r\na7s1FYJ+8dP2E6OB4aweP3VA0FRNUvd8R3CWjLbqOoJqUf9JqRU4U7EQkxRB\r\nzJkhMVQObRFMTFxe3SS18RMAJNYJpwdZeXRD2uUSb4bwF2CUwTJTea39302M\r\nD1CcBh78FGKqW5WiLzxcskeMOP1dyMUOMcLpUFPpOUTFYTe8MhCX9IjZ7Hib\r\nXOUpFECt147ZBK267jRUzBw4STqLX3MwnJzUVGalBTMhOwdW2oc7B5HNRzMt\r\nRXDdtgLXvjv2+F/y92BSDVbZ4jWO/p/L9mDuAYGupfCU4ULiluZcRHPzsbzt\r\n0NRPVJmR5EVxM9v6GODsN5PnpZOyjbOgOssxu3j2Dr7P1wtPe8T92yiUwzHG\r\nWIHC1AebQUtpXo2IHP3GPB1QXFSGwXbwmWUZIWTsWoxU6A61ONgH4rervlFX\r\nrr8eggQXwEI7zC7ZcytXrP42ZYKv8DlOUPBMhSsm2KiJVOsgHf7NCCaQLrbj\r\nqxj4JIwmwWsXH2f6FBtHDcegG2HJaiynqTKJzWHtx7fI/qp5eTiOMESaQ48C\r\nqcwu60nypxnw+dw2Zkhsh9IfGBsie67mmZMPj5FmBJtdHsUvR3gtjzr9WU4l\r\nsANWe4/3E1hYptapIcR/Q7W0XRee3nhS2TU=\r\n=ntLF\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"6cbe4ddfdad0cf1c22a55b0eb99ac89a9cbb0d2f","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6cbe4dd_1678329830819_0.4404247992705925","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9c7fd19":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9c7fd19","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9c7fd19","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"26a0c27585118d0bfcfb45a4b3016f1fac56dc1e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9c7fd19.tgz","fileCount":251,"integrity":"sha512-Xl73KOgOCednHPa5VAl3TRIR6gaCTtMoC4IfZ2ItqgOG8k4VO7mG/V6fFUh5q/uijDZSf6iG9iaGf94TkdxLnQ==","signatures":[{"sig":"MEUCIBjoMh8IEz6bH9GiUtrcAvIkIlpZFRQg7+wuHOaLncJ7AiEA0J2HIz+uRecjRr2Iw+ytarTLg5T1VSoUN2r034n5USc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31494961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCVIvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpudQ//a7r7fs57RTHvMqjPX/GGy1WKYnc5JgO49xgNMfqu3FZlA6tQ\r\nd0sXpUAKHiyTNKtXD/XB97dcoa29yCcEDmhP1egRt4aGV/oBL9RvNGbKrarm\r\npm1YSznsZbh+RBSqIKxt5nX/rlkfIGBTDJFFSfukqVrK05Ko24pZ0jQv8mfd\r\nbKZgrRc7k3SrHZvMy8uJ5j/dkpHXuRjPK2YphePgop7IeaZyIgNDZJC5FLBa\r\n/2+4J0EqS4NTAvUbBMxV/+sK2O97IJci1leH5jhVcIuCmMYiikf6NXBTrzRF\r\nJoN9jl4nDngfD2dbQiSevc7HoXK4GvPfQ8WUnBrSwn6E7o9RM7FKBj27+EWL\r\ncsJ/eseLRZvRpMFJtYU7XKjok+Q8/lkqH/y5Nh8nwHZikAF/TW1vhmIkFIuc\r\n7ZC9aFFaYSMmn4pTXnd4tU9EudSan92eNXMxUpg23QQJrtmSj0McRSuCkTin\r\nwkG7l5ld7Erz+09AidhK7znV7Vqk6P0Un5FpdgA3ptF9LhVX+qtCzysvlD5O\r\nZ2YbaqwPW06hafTFIRHeESyog9wXXeRGjq4arM8DRI6C0XAhGGjH0BHDa7tT\r\n+1szYKDHWY5JOVmvHMNeyrV1wT48iL5wjwyU44U/cr7vWWpBrQh8xN+W4cln\r\n+gQq8F5eF+z9cCfgNOVFkgAMSKbyviXYVG0=\r\n=ecGi\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"9c7fd1955c68d09b7379c8dc8c57a8ca9b70ff7f","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9c7fd19_1678332462977_0.5200335210574147","host":"s3://npm-registry-packages"}},"0.0.0-experiment.089eb54":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.089eb54","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.089eb54","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4b98fcf5cfdd62c67ea7a84f1217e34f45ee5a25","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.089eb54.tgz","fileCount":257,"integrity":"sha512-TZ583KAMzroXXm7vk8acjCoVgKDOwmwkwo1/M0kig6lojtiQFI5OqLohucyNwrZ7LiQK7S6DrtKQ5eRxd40SAQ==","signatures":[{"sig":"MEYCIQCAm0LpLunNNtmEhQMewW9L/a4wb3M8y/3JAILWc8MIzwIhAM+kpqAQiVZxKsDcG/7t+23e2jyshSo6sGtAIFW6za4a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32557614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCqI3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIDQ//bX0OnT6tn2vCmPs3EQJXoRHRkkhTfGg6ZjmYjjYBWXN4UDVm\r\nbOovJp5DydSUK2Hw5sKhujX21BxeoI9JG6VFSek1ksoOUBC2S38aOD3OdRmw\r\nCUOROkCr+Wwp5Lqbkm1PF9oIRiEf+xjlm0l2j0ufRUgDA5g/1Gjw2d2+sfdR\r\nadoL4Go6T12REdOy78eskpV3eYIqqxwhif9+AXTAQc+liJgQNCAA1sdTt92o\r\nZx0G8ZBq4HZNNxSM7XzAs37Z0zbJ4gBgmbQiatChDl9FyNpI4LwiV9Ono2eI\r\nkOgZdLJXzxW7QVVd94wToChpMuvyGEoXkTn+z+qiAlPDozyoZgAtbxBWsuBJ\r\nYgeCOt/TeAqaLkI1rZ6Gybu85HAv00FM35JimO2Iy5s6Lwdf3PqH5de9/C/C\r\nkJyMuaX29Hrc7Pbv/mqRAxM8x5JZjWaSdwX8K64652a6UuXMnD3yr8XnVOtM\r\nflOhoW6qJOEnUbrWu//ixARYSuGMVrTZxO+F8EgaaChZQC4WWKIxP5l7fau1\r\n7CBbENDrgOTfgCV4pP/o1S8YXTENQ37L8Ll8XKZDGtLXIdh3QY/w35R2KXrs\r\nSzbOmga9Hv8p4uZ3+nSzO/YckM3TVkvh4dwxVzdvlopzj7LvcQYcsULfq+qz\r\nh6lMn3L8ngDDX+ZiDgdWRIV0ircocYG1diU=\r\n=ZGzn\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"089eb543ad78e364087ab792dc2b51069dd2ac45","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.089eb54_1678418486787_0.7093538420163399","host":"s3://npm-registry-packages"}},"0.0.0-experiment.c72cd25":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.c72cd25","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.c72cd25","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"83d3134589c3c085d92e3d073b05fa0011f606c0","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.c72cd25.tgz","fileCount":257,"integrity":"sha512-AVZufzNV5KsTPQLOGUkzbvNMMst1o0LFvKFbT4eVW8Z9XUdSbJekP1d7yYDRWHRcRQuRDXD9SfPhg17ZVXIyHg==","signatures":[{"sig":"MEYCIQDkSwLA03p83xH9+j6kxT+Dz7a7BTYOY4JEDz/BS8cqVQIhALz/3IixT/uL5gYAXa6g+uBbLCdt/K497j80C4VnfFRP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32568745,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCrqyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrA1Q/+IpSUD3sZ5U6S4TpGGl8nsRzyRKA+UIO5khZmoARsn0MTm7BQ\r\nOLOTvr4a2S5EmN7CsZIXqkTPU/Q0PNrVoV8zA+UcxneMwWRE+Yb9mh46Gw+U\r\nVeGF6SMrmAJE3EXB1fz11cHbigKeQ5xzRU9ePfjJ5ip9okQecOjyfeHyaGMm\r\n/wJsLDjO/ivbgERwl2OfXm0pBn6afEmLWQ4a1937CPbpvbDdPC/2U8yJbLeL\r\nrQlH5KE90EpXBHkkFZCFLth2Y2UyyHJoHZs+VGeozSx5mcPDZ9xc8ZDEq1nA\r\nFFzoAOWskcuIqRMSujxfibe+RagLxWl8iV9FpAWIC3sBTu/i78lR6XbwksJQ\r\nQXxj/9l3MJpNS5NfGOujOQS2mCBG2vbYEyqLjFbqSwv9FH0npwm/XhnBRIEJ\r\nJteEVCCP1cUD7QzjwAln2rN9SwGwMoRQvHGlZvY4DvIUTTM32VsKkWnKTjwR\r\n7athfebo6gMs5j63ScouB0IyzazRDngTHQGvIev2M82EvZdSIorV7vPAQMSU\r\nKCgxFqGrvKKghWln4vjKKVL7rCxAMFjtrjMbZc5j08QqLRTQAhkcaau66o7Q\r\nt/gek4QF2j6UXc8vjXDd7rneM/RD9oLRdS122n8NNmrNCpimgeYGnV1Vk87G\r\nxoe+McNoN93kG8mM3ee3AsbxW2w3JODh+9s=\r\n=3mDf\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"c72cd254c7f9257d0d4c9fa8a316e58191223237","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.c72cd25_1678424754243_0.26023083715007855","host":"s3://npm-registry-packages"}},"0.0.0-experiment.14f4e37":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.14f4e37","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.14f4e37","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e2ad097ae0ef0cdef062490518cdcf23484efef1","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.14f4e37.tgz","fileCount":257,"integrity":"sha512-Rfk05ou91cK/sfZsrrvYU88a5FchMZAAtITdY4DX4RWaCx47HToLTPFPi3uLeRsFjsWNxijO/SyglOPCzbSu0w==","signatures":[{"sig":"MEUCIQDptcJEs3TD1pwT6IjHN7JmIGmcxof04lqQdqdCJynJEQIgZ9tDCdAWobDkGE3isMn8ahOpPdkx5OTLY7/mJqEttYI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32593929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDsQbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrhfQ//buUj6fDcUW7Br8oYDVeSEqZ+dueLNJwMyZ8Vyt0QrcWZ22Gj\r\n44ZNzWeObB2UrHFm2BPgSzuX3ucFlXUf/Y5CkRZ1GLvXrzkSlr/gon3lfAXe\r\nPM/nI20nQsj8gTanVOckEGa8wAJ94d97Uy6A3aAyTrt38vRDqy+E8Zfa3WW7\r\ndQ35jkAlJGP8fpRrpx50lWAmV7hkPtu83G+HsqxazRZitsUHkHx5E83MZj67\r\nrj4VNp4g3Ix8PXi/akSYrnTkCc0FIEBtY+gtYwE0f+w5YoxjPON/k28j6gvN\r\nItS0KdmaSmj4cdh73Lr6SZhkzgWtBmgjLgo99VbuYvtiguK2s2wmuWHLqQRL\r\nFHy9cUXXgciNwaE6wjOZ1SqOf5RIKBoB7ZMs0ZsvDcSwCLlnLK65bLsLzSFp\r\nujK09DZWebrmgG9fNkSTKqfzTyeQaerggvA+nlg59+2L3kPlR1kn46j4WCYM\r\n5xqMd4PPbTZPowmFDxQvPjnWs9K9LPN6qqBqP/BBlUJoS5Sg2i1bUMNsk1Ax\r\n/k2S6YPyS4dw4OqxG+kYl43SKGxCVuYPQmSGnNIhO0KeHXiy8DAJSm9KFn12\r\nnFK949H2Wlpna/f7Xn0a1PH6KoB6I4I2MPvE965vfG/eWO2vJCaOZZaARsub\r\noIBmegoujjTaDhwi740v7Hq3ztoui4SL4sc=\r\n=GOvn\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"14f4e3770ad183ea9e253daf0dbf50a50f93ae75","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.14f4e37_1678689307044_0.10168221611474593","host":"s3://npm-registry-packages"}},"0.0.0-experiment.017e3f5":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.017e3f5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.017e3f5","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5d1dddffc454ac7e9650cdc058a9dbd2368acf30","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.017e3f5.tgz","fileCount":257,"integrity":"sha512-ysek16G8PrRAnNBiaBBPFcqvQCEVESjPkTdEu1HikL9mFQbDvKt/ilNOdaR/9Dx9qRD/YQqerNgTxO9amosI+g==","signatures":[{"sig":"MEUCIQDz8eF1x3EuGB2WKeGtUl86H8UeJqEtdQK6/v1N0FfbcgIgWlfr8MIGqSKG/5yTUGYLJYAY9U0yOKeLp3awUoU4Tx0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32596476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDsrzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4xg/6AzGtqlfr8LRCh21j978utG8ahxr6x/6zppwfUPiBkGfbPaQ5\r\nf9gIJl7HxbeehcDk5a+hJuI450PkDHzvh+dHlfzfC5uP7QJoyZSBCUyQGfPA\r\nQ9KH7/7vb3pjIRQEt4w5C158e9QZu2NeW/2YlFVJQnJ6bJgNaGhjU51hDsKT\r\nIfK4SwPJe/ooTLP1Je+/APDGnGWVv60IzIM6ZcRxsu/34/HGHblOwOJpMCgC\r\ngg3AfnkR1yKxJnU4ZIYYCBvcp3k6Ve1SHMwcom+v2FkGVXdCWOAjf3fGFnvt\r\n3wMWI6wAemIfwNlEY9UcaVA8XU2s31c+xi96dmMDMGV/uAPUExvmnLNGCXFG\r\nDBfpEE8LZmhQPlfzAnSjByQOoSgfL3+2xgJLjCH7SF5xSq0zWyNtbKd1gGAw\r\nKx2pm4pmGtNdP8KcQ24jgGhAcv2lf4K280dxBbN+akhGbEQI5SkFSFuy6qt3\r\nTzatRmsfkjK8/9PDjYOBgrQyXzEs7xWWJ4Kycq4i61O2yKx7+pLMKhVs+hGS\r\nStOvI0qcliEPY27D/EF7/tf1t4meZb7+rUYv0uic7oLDPSbZK27gNuhXN5YL\r\nH9JrItq3OUaFXYI2s3w5NyGNSEmdSzeJOxaTIOUOD4rx5C1s7GpAUJ1IOf8f\r\nOW4mnRrzkAm7o+SSrrekdMfsBRWD3PH1LpY=\r\n=mvrq\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"017e3f5902be6e1605dd540a612fb01960fa47b3","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.017e3f5_1678691059095_0.6778103409960223","host":"s3://npm-registry-packages"}},"0.0.0-experiment.784b3d4":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.784b3d4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.784b3d4","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7f949ca5d0d78890777b568dcbe5fc2e0a46ab85","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.784b3d4.tgz","fileCount":257,"integrity":"sha512-jYC15rZirCEOG+S6b08Ogpmql1NXuD7C8WzHdHRdE/SaRFkevop4IH7WkcQVXnFzuhrf0+qgS9M62/Dh+bMUWw==","signatures":[{"sig":"MEUCIHsNueql/cBgHbPIwdU/2ET5fhsAKHd9K5tsFMZmtGL7AiEA8GFODaFVqZMB4YyprcvV6n3b3CAAyFMY5K4K3zbSzfI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32597066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDvPXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8EA/9EpewGHLQqx8RZFz4XJUY/l071VuvSj+84NLuCJp81hmMgBRQ\r\nhmMvXx51jtUJTrVaNoJL8qL21XocMTXYJlG3a5961vMmGUWbCyQAEB1xjsE7\r\njsz835WAknKhQl/k9hV20grk5px7sRHGSC4vJ6WKgWZ5finIh+bt6mWgQ35+\r\nXKCsy/MiDbRlv3y/Pj6bk9Zwl322wt7CC7DJhJKZ2W3Cp/ykspwYZMFCY7Yf\r\nR1t4gLMzbhr+PtSywmYvqeja7wvrM6yG/uNbJA18ASLaDXF/LWZH00OYMpTd\r\n7kExOZivmpsWg8/3pSbw5MV6FhqFrwLsIBjl2l2AAOa53TAMuobXuWHFbMtK\r\nK4Nz6zU1ML4O+DqlyO2UhrcGpLxuUJ3Do5/hL2qJ7UXH0nRbc+grfFVcpyVL\r\n3RZwgSdwru8cZLoehoNsp479gq+5j6JH/7klQtpeO8jWQ2VT7Banjy7F2zaE\r\nvnl8c7FjpVwGTbzXnF5GR9jgJnTIb0gSHG7eOZIpS+T4uxaxfkt/3Qxt5HlZ\r\nbo9Y4wUiBy5MEEXQBAVNwT3VD49Hf/k0QZLhYSevPf6dWr4Mn4m9IXUQ2lRB\r\nAHUEA359XzTLXnl+iY0efGDLsChsDwt62MlPUDsaT8OKfL4hxU1MeqrLxM1p\r\ncGWL/PvQzkFUUXt2BmfE88SiYA0j+Cm20SU=\r\n=ASZy\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"784b3d40a8ab2d648f4332ec521e979ae8d0d508","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.784b3d4_1678701527476_0.5551073843069045","host":"s3://npm-registry-packages"}},"0.0.0-experiment.c83ea77":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.c83ea77","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.c83ea77","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"deee754a28323ee2763eb1666f9fdbd47e814d0f","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.c83ea77.tgz","fileCount":257,"integrity":"sha512-CDN5mkAu9089jLQtURz+p2BloGVL3+ALs9ujkMmN+vqk0r0nccqk8NaX2kO4ohJxi97IZZrg6wQg717kuQ1qDQ==","signatures":[{"sig":"MEUCIBFdSXqNJQsXA7FfKhKpsiaMOPw92lPrLhZ3xN8aB4N4AiEAvb5fVfZx2B1TwLMKTTSLFigVwp8/5ZKNsLYSLjj8VxE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32597911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDvxMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoniQ/9EUGd28ETh/UfBxvESvEZF0nXXIsjyOsXPJMVpirvpkUM2Nd9\r\n4PJohsSAeEaQR77xm8Mn7qtJnSUG8nJHe78qxL+bsAUwtf6oE551Z2mADq9N\r\nVwBqOM0lAXz2WxL0f02Gi2qc0z7vv7k4+cZsyVLVbpanFhWKxou8XyFpYyJU\r\nf7BIN6E5Glv8tuBTtTshbCiBwZQS4tH/No8+NFRNfWZ8aM/dfTRY5o5/e12B\r\nPgmJmm+nLM9ARd8vbixUdiIVvmwbGdcfoWVqcD3KEZW6Pilew224j8GB1THQ\r\nRKzpBZf9PdLkwvoK/ZFxYU/xu4APQY33s4rDzQuV31jUIY9DBA7ENRjInSCf\r\nwTgpaHcF9UdOCgdeAqaY4bkpzmGh3caGlAgEm+DjuAe8tFDdJ6fenQgC7WTR\r\nTmzqMTU0rYKZCQBHcSStqum8MWJE2BtNXOASYNmOf4LvH5j/slGZ8wgxZjvQ\r\nZ9QCtcLtwL1zJoeIV289/YZAlQ+WRG6fqoyVYh7AoqQX3mkQpv2Nv4nQ95Lq\r\n2K7aC1OFBc2gRzw7BrrY34+vdXiqty2zOFtqCD/DfIGjmRZRlZNUcb2QfEV9\r\nQ6MvAUaXnbkU32shojPuB++/otFKZ+XaS1FntHIKlkO4pquh/7J8R+e5LsQR\r\nQh8c5Q6xde0f3pHAu132KLfQSnkrfnfVqVQ=\r\n=ndvt\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"c83ea773d0f09e5e99746e80cb0f1e06731d9931","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.c83ea77_1678703691746_0.8938308544757347","host":"s3://npm-registry-packages"}},"0.0.0-experiment.a681f69":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.a681f69","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.a681f69","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"79eff01dde5bfee030dbac1a8b03110da33ac273","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.a681f69.tgz","fileCount":257,"integrity":"sha512-tL3fDFgPPGeF2kWUNg87WOegNdk+Dr6Dw6guLlMd/OdTyj+OFaAvWY2yzKK9IHYSHlu1PK7dVOcVb6gPUDPRjg==","signatures":[{"sig":"MEQCIFeMwFUdmSV7DfVurGdnmnQP3RcOInNMCZyEJOlELryQAiBphSfQPD/5J1Qc4L0KmcbRKgETRjYEvh7QMbzuLYZSNg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32624455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkD8aAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvJQ//ZMx2jxbXdlxM91qU8NUvjhcngRy1WCVD05P8jAI3BEsMrqWx\r\ngNwPbR/r/xPrM1kQwUGt3h3aIpik2t90oWQH1ENc+sK4Jep1ZH8n751YgC9S\r\nkvbggkEt+PwcFFomlP73TzdTgYzlbFQ+XXruJDlIAMe+Bcsa21emy50xJVUb\r\nJGPExEOpichD7yFImGXlO8iGaVn+RKyXbswnMrtnNji7sBE+iMWcqNT7qx2h\r\ncVH6cOipMlZ5AdwYtWbdng+e/gtdWKPMYzjqsfdAMABnUht7Cdsm0ngvB8FW\r\nJzBVML4H4kitam9i+dhyDH9EfyWJb9X4CQTjJwNnYBkUbb37GMkP4hYsATlY\r\nCvUOsThu/xuFfbezA8en4hULx4s5wJclrToVMp345kFt+GmuGzaxLyWupnlt\r\n/aoACP18cRLUszZSAdYSXGAOT3g/IuK1jLii09SgGtJcai7YL4Ocgvq/nCa6\r\nb/vxoEEzKg+WWmFiIn8oqScYIVeKbLhWzjIAhgW66khEzv7S5xqlJW6G2eF2\r\n7oTENt35pmRoz4u1+wddSIhfMqs4SaVPmcQ3nxGBDiqYrg6rZsoKLatxVg/b\r\nWegv68FBSyu3UMDKFE5LwmxV2d3OHe4kEk/DDZkeG4tIu1HClbWnt+G5IVmK\r\nWS5v7lxlAvgvSkxv/2g9K2Xn4R4JKQHsk4k=\r\n=5FBH\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"a681f69c5ff3a4eb646102ab756f9bc245d5a72b","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.a681f69_1678755455263_0.22468790816501638","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9b95fc9":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9b95fc9","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9b95fc9","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1a10398eca05403c48631507d3ea1f848af7d396","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9b95fc9.tgz","fileCount":257,"integrity":"sha512-eg60K7bNJ4aV/TkpD0pfeCXNyEIerZMuLma8OO0iWe2vlG2GrClrc2mr9Ty+c9GTn80YFgSM1IDb68CRDTkoUw==","signatures":[{"sig":"MEUCID1CtB2Kbwz2rtpk1T3b8iMgQkK2iteEUD+NyU/o1DUQAiEAu0qykjNjhoJOWK29V+W8whxaE25I6+Eg3kJFBwFQ9d0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32626926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkD9FiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozXg//Vh7/1BcDTgq2m9KC+LZWSbVRqUiiRhPXb87f2K+VNDiwp9xk\r\n7gA2E0JJ03/mRZ+raHFWG16cM+AzgYU04yGOGHCWKC3igUdtkd4kpBmlnqfB\r\nx5Vy9h19lDmP05LdgMCiPpTxj+wMkCNAW64lupPtrt3sjZ63c1bdR4HkaXNw\r\nODWwB+YEpts3rVXqqFjpcEOKJhMWzLt98lkOg+gUaCymlBZqBgNKJS0RxyMB\r\nwUv8aXnxHk4wdX0768mQu9iBqsDdpSBgqAxjoRj1xotT4PQHrtewNnzhzHQL\r\nEt8HCj6uDVgOkd7MkkYWhIOE9bipV1mbcG7E9tjickaSSNkJJKbhmQhwIu+V\r\n8k5vwJXJXv6ruaDmfFUwOqi3KAviXQMyM9805HkSm9L0na80fpwhJzPU/3Hm\r\nEg3iRCLoAYchHZDavpeigkDbivKo/IcrR34J5CbIrwnHOEdnR5qGX5n9h7Pw\r\nLzj+/JqSgK9gz2pk4zPwWUANUDlSHgpYULdhMr2nmi9tJxxYY2DEivorWdH2\r\nYxFdzxpzoGpXFHmOl11TIgsEt5IgnxVIv0e4QKNLPVXEz5AYa4mz0PJvkucK\r\nuQVzZJukps+KRSpF76NDVpGsiKGT/v1sznXovlFzlwT73gp9pZzXZQDDpuho\r\n+HF0LEqzFu7KfMzovzPoc9XS5zWHC9lMWMk=\r\n=+3jl\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"9b95fc9358516b84723624f2c1742dddc87608bb","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9b95fc9_1678758241679_0.019199956544200925","host":"s3://npm-registry-packages"}},"0.0.0-experiment.2412cbb":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.2412cbb","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.2412cbb","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3bc3db8ebbb5db88dac2999862cf82ba8b4235a9","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.2412cbb.tgz","fileCount":257,"integrity":"sha512-Nt8U/WLeCMtimMz6d03HpX/4COEBbpDRyjVTjQ/bmdosZM+krW6Q2FKfQtPQwQqWHvNn0Gs8M3rLw50EMG5X0A==","signatures":[{"sig":"MEUCIQCUhnsxN8F6oJheu8d45VnTL4seEqYbt59HVio33IdxPgIgHiQT0GxuoTlQOjxJhINIIFAjxvt4Nq/jmb4y337hdIo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32626840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkD9LCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphoxAAnKg59KGDytMOJ7Q20qd+hVr6wN6XTnKDj2GSb65sq4BRbMTC\r\nAOyvMexVWapf0rXkZNQM3GzRQRs2HIxV//85vuVjuoE+CHjF+EsZtdXAlF/o\r\nE9hUIjwqVKORJQ3siR3sTNgj5C7Sf7ZFUMACKfJMai+Xvz6fXS4tEjh7YrFi\r\n2AbywxKRXFHQERrYUa+hoi2aMkn5QJ6IULhv/4F3BmUIstUE826JamdxU8Bm\r\niyYxUZOmpYaYmlAfdL7h3VyGYPEBZVM/psm5yKPafSwKiyVczls0uIO8rSTZ\r\nqv6AHB4eGiHjyicJa3HPDHHYEWma4xEncr0xW1R3fJhNGe3NUaIYB3ZKPNH+\r\nLZQOfTP8+tNYBkLgrPal6OoO9Qm4E65QPNJuujxyJOvwaVODnZWE4slIKHZz\r\nJ2zQkNuJx5XkBomzxdyGdDWsEVevf96Lx4TU53vhOQuz4oYRnTQdp0Dbb6nh\r\nBygxVi6tEgvbalu0StK8kMc2S51p9ZcCN5nHVi7MG3kNyyPzbnxMYaVAflYc\r\n28bHhtD4032F4zbp8YR6s2zXn4sIkFTyYsjpeBoPycKwwKARxmrTb4+83AvV\r\nQJqlkCaRNcAxla5P0iBGLGQ4Xtud/haakVLGrZZR5qBLdVHqSu/54HTeJoQ0\r\ny0sOWPyTNTWGMhHPO6NcDvi9gu4o8lH8Mio=\r\n=NDij\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"2412cbb678e9079954eb056664ed0148997ef1c8","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.2412cbb_1678758594151_0.6830114839700818","host":"s3://npm-registry-packages"}},"0.0.0-experiment.8202ed7":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.8202ed7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.8202ed7","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a6cbfba513df078aa8b8e1b165c0faa20b16f426","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.8202ed7.tgz","fileCount":257,"integrity":"sha512-pb4q5D5gE1N/UgsQRsMGj+Sx13v7/WVRvWypM7+8P+JRm0+qsWXibIvkJLEPUUW/0jxzwIkGqnv4n6zBFCzgxw==","signatures":[{"sig":"MEUCIAOIx4qWlV9hiaVKuzw9/Bv+SjfnlLEemKJuiMbo6dgqAiEAiadwcuS9kT/BzAciMWSTmzbvWyFacmAAqHF2kDgKBwA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32627042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkD9UDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqhJg/+NvfxsRhiHjCyHEIh2AzWfI/8M4gV+dQeB3hOsdLB63LJQQ7O\r\nL3bgBMKCSFDr1/CV8/9iGyMX1BZm+UUV1Rwxf50qEl5fmrgWxeig0ZTQWQz3\r\nbvJdlhm0WfUHqal9HtajnHK6qc7eQc8RczwMIzDGRMAZV82FzI7iQv2GBT6k\r\nj/eMQgqV4/IN6GZHxGuUVnd4hlol00bU/3T8imEVILcdiEGuuTq80AkIxVim\r\nhrJasPdxg8tIxL13FK0afJY05zi0eEbqeNxhQ0LvOT7ncnYivZGDRTI+E2Qs\r\nE76mfLXCs03n+BSrl/3B2YYCihoU1xvEE8mhsXv6dgbGFaBERny199AJ3C2N\r\ny+CUXmyGMzfGc7nqPVU8D8qYHau+dgxuYN2BHu+Wo4D/Ws85ubuTLLcjqeAC\r\nnQ47FyiOOooR0ZoqBhPAACLxedeczReCNCUCsyeMYGZOH8sJo7fexBwikZUK\r\nAwiRewRl+0+dGnL6+zKUfH4Rgdz3H4LqgTJ4ogAV5rfyPfeO4XT0iw9M7KXm\r\nIRVOwu23C5AoZ0slC9hNme84gYjtRHRYIWWrMBGyXCKzp+CJ3K3Z5EC/wE+Q\r\n2sjC6W+bqpEdADM6dIfuH69gCRxpwqKF+3BVGfSnKajGQOCDyuZWJ5xcWOVL\r\nai4Cadf7qHvDeU9SeatA/4+MwsfS6wBzZjw=\r\n=+xDC\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"8202ed7f762ebc133148988a2eba9a7f24054928","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.8202ed7_1678759170773_0.8277602235625074","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d028511":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d028511","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d028511","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c1b82c4a74e2faf3441cc439d50634ecaf81de27","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d028511.tgz","fileCount":257,"integrity":"sha512-CMM7c26sSxSvIpEfW5XAe7ZC+RJ3HQqD3hKOWJfFX0MXKAwz/DSdjWGJpKfhww0oc5kTUJqmTXjUNG3G3YybBg==","signatures":[{"sig":"MEUCIA6S144OInZl1dyABqAQUZn0Hn0hmpuN/LsKIi2rKxKzAiEAwypj+vGaZ5vrju6YFa+kqcPnUl789/n12pxdlFNZi9c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32626202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkD9w5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2FQ//VOqxsTobIlryevYkOD76pHy4QMk6Lm1yo7aIqctRjJwi2Gou\r\nF94udsotPBW0bSEMm59JQe7O1/EkGQIU3ULlYSmkXFRyLcxpbgnC80J/gVFD\r\n6zS4tVNpl69Y9NIAJCKDC1iGyWun2fIWmLGxyAbNUNdDDvs5eO9Yw2CdbE3U\r\nLZ1q4HlYmx0Ilad/7ry6ajL1ddNhAb8UOtL1xsepyYLFlfU2NdnVskZEBGxI\r\nV5adxheWlTb0VzaPziWRKbqpqogwLR7V9jezN/ovcSiQmDZnCcbQ/aUusHF4\r\nc63K28gA52CSrJcVZlYChGHC/rYkO+ao16eLiu0Bj+2VRvtq0AX5d687Nkdl\r\ncteSVxVMD7NlTTEJcswhk0impZAfgsIp7pg8KAnZunl+OV1os8ugjHYTXn5V\r\n013+SwpkzPQYrmK5XJ/os1Dtgr06st6NKn8I/qZ3C4drpvuDm5HuwP09RtQQ\r\nqQnwUa96COYGroQ6ri6lQtYuD/84JG5+plszIuSiKIe4l0a6CWnO7tkBea7z\r\nArziyoiVx7Zc2Q65WxvQaY49bGrin//SLpRap75mCizgxgDVa0FUXCQV0qbp\r\nzPsskqB35d/Sa5CbOL6467sMHheCrg/wTDe3kihS/dn1nryxeIW8Q1nVPvBz\r\n+VM84UxZxioMxfh7CP8wZxenYt6ex0qSkaY=\r\n=nADu\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"d028511ad937a9936bc7fb0eaecc7fe7ce866689","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d028511_1678761017152_0.8368477837659063","host":"s3://npm-registry-packages"}},"0.0.0-experiment.a78704f":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.a78704f","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.a78704f","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7c0c39d8ac951138c2773f88115089eaaa72a571","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.a78704f.tgz","fileCount":257,"integrity":"sha512-O7SLcjxOkuEJzU1Yzzr6rJBGYJ/PA6d9nV7Q/lOYShsXBiC6GHa7i/GcfS1Ux87vdknr5Ln+YZBS8s6nSJLTPw==","signatures":[{"sig":"MEQCIG18xnFoS4xnvDEu38vTZI1oYZU3IQuhkq7oR7Qy+9+kAiARdRWEGGJKkYgymvuORZN+qutMVkS4QkxZ4pzgzXQsLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32626308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkD/VLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6BA//aEcackiPH1p2pRYWjWUVE5gJt4AkqsNEm/FGc02eoLz8kd/R\r\nyHFyqPJVt3j67KFNVRezr42TiQZfpWEPHrT3WjvOhoziPN4ffQyCTfj4SHC8\r\nUuOoWCI/LFhtUIyqdwgcavb8db2PZNy2ag/ZAVNS6WqOkXarQ/R5eFjzgS7o\r\nLEPcXK+49l3p4+YtvATjRV8QGMnNCrykQ59oXBulMX6ugJZHjhiBY9sOfrAz\r\nGOiVOmlI36Ske8J77KPOlgfqNfBZLy/u69+IsX8rSL8/ctt5aEwgO29nT4DA\r\nPpMhblwz82Q62X2V9SbmcSbaQoO8qWoruc2+ECYo5WqlHDgNrSN6DsOWJZjI\r\nh9Bq7qBQjA1qhtdRTy8bdSKfyYfkv5EqxAO1PhcM3Vi+JLkC2gr6kuH5NzM8\r\n4IgtL8SLcdzsFBTmCr0XB5AA4bG6AbMB4Yxr934ugGoCI88lIXn1tP21yKga\r\ncrcRxKmsLZgXbCNVhT0y+y+3fwcjeDTIhTa/RB41gpDcD8gSQUH9vTfizB7+\r\nv26HA0uLLBehad8sjec8flQfmzNCHGOCaWyD3Klitp4/I8Dxpd8WEot+dlN1\r\nPx0Gp39moYoIDHuU30GlNYINvnVg1qUWuzYvwk88tcG5aHgTBqAYKRoVSb35\r\n1XsEvDm7/l5cGAxLwQ7er/+B2WpWux8/Rkw=\r\n=HdmY\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"a78704f1a52248baa5d1ee9305f9fde90a457aa7","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.a78704f_1678767435496_0.2140448698660673","host":"s3://npm-registry-packages"}},"0.0.0-experiment.a96d310":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.a96d310","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.a96d310","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"c648cb8c26c2f66a1e418c742e4dc12ac05fedfc","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.a96d310.tgz","fileCount":257,"integrity":"sha512-kwy/CqEhdNu6PBIQAYaq5rfWqFsL0F1GLHCa+hvRmsDROpgL992z2B0YWxEzv20VGOE2QRXWT2QAN0UtuufUQg==","signatures":[{"sig":"MEYCIQDTGpIV7QioCCe4JlAmXrKru0XPhZmI0ZBz8dLHnudD7AIhAI42h3pHJRtwcPu2vTGWrB1vFDle9a/3Oc4/a1XRUnQQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32626684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEAoQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDEQ//deeoNZydrYBL6eIG5wA1xOOQk8/D6Lx1Nc97wTTU8wkTnbl1\r\nkdgDZjdRJBhRfSNIF+8n4vzerw2r99mnc1pXf9oMlRTzPaMduxkhhc+fjXO9\r\nrhAL6P1sZKZISs3ZsiF/TB26M/iTK4+SggSxDj6/4DvU68wBUeE1ZpUXAy6C\r\nUCxbR+6Vk2G1E04ihg8qmGlgl8kP3FWJxMaUYuE9xEw8T+RKSfVZ3TxGC35b\r\nrhPmNCeZrL7lOZxI7+JC0RuXULgJVHnVr598HhDA6QVEZ0vDKH8V7Pgln33U\r\n3yA6ctRQtez4v5XIoF4W04HX8wIp2nv4YAAWLy9KR1OArosoXbkbHV3pURML\r\nbz1A1fuD5FzIKsaqDUdo/P7Tm4lFc4UHy5TkKQW35pQAf8QDDt5/MIEtzNQT\r\nBRV+EqB2tIpINu3GGAX8mb+0MdqVk2s2g2Kx+kSL3hxV/8CLWRxdpoD00OR6\r\nkXZCL19kdGONo8qXBVM7A9h5DBjANVXylVQXDr4fjWdSHOZoXDGixeLNpn3n\r\nikzKK6bTAjG3ERrZou+SjWdsqjxKfGVDaMdzyna3uv0+a9bgvvVF7IF0G61g\r\nZTq5OrLMJXN0+oRZ6CSBphzmSoFrrp8funMqNG03gCVcmSJK1G/rUZsWX/vW\r\n/DT8pdBl+J8xR+iJQiurIjwISuvcOuq6Ms4=\r\n=SIxR\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"a96d3101aa70a16ba6a8aea716e055fab976a017","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.a96d310_1678772752294_0.4238132006055406","host":"s3://npm-registry-packages"}},"0.0.0-experiment.e645aa2":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.e645aa2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.e645aa2","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6ebad0cfa6dcf320933b246bde7589079a7b7552","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.e645aa2.tgz","fileCount":257,"integrity":"sha512-1ESUimRPstorhl6IJVHRHxkfCDfF+R1w/O/0hA5YUyJNCKhf1ArZh/5vittZDdAVZttStijH+OOGvxFJtHMkZQ==","signatures":[{"sig":"MEQCIH8aePVovXZmsPyvZRJbh1B0hhyyQQzOer5Dn+lVeWpVAiB8s3tXdVg33yTZEfhaQyUaGEu089LXPHSIXeKc6vZ9gA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32627782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEBafACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZYw/+IAGT8zzyg3YX5Gq5YH+NZogalKKDacXGeh3Jn7md1+WSAEhl\r\nfiD7Mk7/+tzBWuTm3Hu4h8S4Kk3UbtcQxMhpPLkInxCpP/pTRZT2qtYkog+R\r\nqa/JuQULT1XTLf9+UT/PkfEyWfi4y6DsVndPNBvRdpKjsIE+ZMrZGkHzcVPQ\r\niYyJsCJ1cZnspuC9fsqo9V0x2qsM5vXLin8aC8hh33Z0XUXIwU6im1X2bQEy\r\nn6eSO/cpUe5PWl3s5X49/ts9gUAcQiZEBBL5UMdc+3sizD/WDjJ1FlpuDptz\r\npR7FDrusuaus6pFyH0bExM+KtdmAgO7s05Hr+EbJWpHA66cq6R2tGswJDXvc\r\neC1chEd/Yo8BubiM+nivIZ0x7zrVziIVBFs1VCFCJqIcQqFDm9IqJRCbYwJ9\r\nuW6kQo8xkbzeCGGd8dSCR5lgCQtpSK2axoEO8lTyjCLIGcDfZWwJ/oiJoPcK\r\ngQOsQ6mhjACovw6HQ4RyoxsS1w6XP7W6P1glX9oCymLCe996Sd0vMSn8Wvsj\r\n56DpP0tQwTjZ5knJ+Q0X9HXNF6BL692obIKOrFJ5/K2Hwcx5+WysDxqo61oa\r\nG5ulVvhJRP1hsTZmvBsbf44s9CC2qUhg567vZJvHdXpcTyPW5yOr09aVpYGJ\r\n9foHXBTtF391xdxVSA+nR4VZq3bsxragB6s=\r\n=W8+4\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"e645aa2ffd7942b3ae4caed4db8bbccfd038ff29","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.e645aa2_1678775967080_0.37004629666390954","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9da4ff9":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9da4ff9","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9da4ff9","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e446bb97e901447dc1eca9baf32032375acf5b19","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9da4ff9.tgz","fileCount":257,"integrity":"sha512-993bNX9o2PytcxqHqnl6BptRhs1nIWcq2LihCRHG9FlZ1gPLQ4fCtTCie4kbFzAsryc+nzFknp7vhshUHnKOPA==","signatures":[{"sig":"MEYCIQCVv76r953dErxIHMC1G7L5991g1/Mbkw3H4QiRDDwHJQIhANIchK9ElVbpBHGnjmngo8sbitVWg9YuCQt87pVpLHWc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32627942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEBl8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9vw//WNRXROP3JdMD/iY8/3AaJvew2y7aCME15PRINz+FtF+Qig0Z\r\nq83uijpS/dSPBtrvLFHnXpARvh9MDt0J+2KvgBZ8+7NJNVujVx3g0uTgD/GJ\r\nI5Lkad7aCXM5mZ6VzzPv+amZo9mCQvNIpbEmQS4wEShtK5BUB/gk0bzXQrxK\r\n9AX6ZH+5Ddlw4+CuQDRrV8O5Nm6zLFeELrZIOI/oQWkJR69g6jEbEPf+90qN\r\nUi0gC+62kmB+kBiEYpFE77YJVi7E+UH7+74PCf4rFziYrRfsbwUTgWCGNRS4\r\nkibNLjDIbpdRetjZ+ddZUpWte0Z+wTotwcMrto4b8wMvHseBlfV+AdA5+6Dl\r\nCvvyRWtMrS1s9MiTRzib3kBJSyPclurY/dy317ZuvLy8mIjIo5LlWX5O335Q\r\nyJe9CjD7LT4dDq5skvkefPMiSwsCqqFt84omcZ9yQqmARhs8KLlW5dOIqXH7\r\nh4FllAPZGSg+eLca14Ut4FZKDsL+ytMsaLQM0A4gVDGVhYQEJiYnG9DC7PTi\r\ngzMua6r/uw+gebplETQf582FcHyGMJpBWFLnHfKNgEXlNH6VxBSgvS2g5uJC\r\ng1l1pKcwfhp7/4nZkZUk5l56EVMX+fiPFjxtkGZKzc/o709eTTXir2928RsF\r\n98EXeq8dZz16kXWDJDZmNqKopScWsMPfC1M=\r\n=TBDm\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"9da4ff943e37b48049aafad7ca5e74060688f50a","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9da4ff9_1678776699689_0.9275488840530435","host":"s3://npm-registry-packages"}},"7.2.4":{"name":"@vouchfor/uikit","version":"7.2.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.2.4","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"370d97ec0d0b5a1169c2a7bef35beca7777ac652","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.2.4.tgz","fileCount":251,"integrity":"sha512-+dq/77OpPZc6rTW4D+/QYiSQNoaRRJRKjjm5at47R/yl4YV+I3chVMiayIdpv4qypwJw0JjnQFm2wQetLz3ecg==","signatures":[{"sig":"MEUCIARez9NZcQZwgUnp2dnwHMLjxZ5CW3D8SJGMVLpzANJeAiEAg5GFme1fhoSCz7XJbmCk1bM1dg4sT8Vx1mXxEUTGLYY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31494942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkESrUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmptaw//ePsMVNginf6uVYwOfTcLDAEyz4DLI2Yabi0OO8ANP4EoVR9r\r\nApz4MggjzFRSUe2V4y5+SIdgF4QYSwEWaJFSppxSjAP2/Ey+Nt+equQVncLp\r\nx1aJ7n6wgyUjKHXuw+ei0M3im3CTYqFGSD5sBEXxOAqIZklRUKsfQKPqZMcK\r\nukFTk4j04qSiYhuH8Irhfeb0ix0bI3ayALgs6rBoCrmcfhOesvo/cMA3gM3P\r\nzvn/Zz2TXvNI0jK42QFJJv0Qb927r9NS8r2rJHbzDde4gjX4b5r/PK0KrVHA\r\nhViNPQoxqtGWPlZm3qheNelFDODpB4EkQn88ggaFI5GnOMV2ayea5VuPgRwu\r\n44JeAdp5WlwhfxFcnpiffmBVWU4qrl/gJsnDd/TnfO8h5gKkfwRueK9rs+j3\r\n8IrU5MBRAU1u2kW1XMXRH9Mcrvx8as5men87b5EiWcoqB8YHKzluJoTVDT8r\r\naUjr1Orsqha0yb+K8BELbtpqh4gnQCwit7BbHuGgDNfkczJDv21fIa68liWB\r\npVibJ0501mLPrWnwtK4cHFpsv7AnYxMGZDLBGx1CZUeaq3D2Hcr3bgzDdLHn\r\nYUTaW3bd9FAvs/Pbq2PHVysZAwnOsZ7FOX089sh5uUPfcJt1wEoy05CNSilo\r\n6NDXgkd/DRpomuOjboUN7yZAUhMf+6lU0xA=\r\n=Vmzv\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"d4f8cc0ff42c53a2c60fd366f37713ef681e272d","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.2.4_1678846675977_0.8986994234052879","host":"s3://npm-registry-packages"}},"0.0.0-experiment.32c17af":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.32c17af","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.32c17af","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a92906bae7ce98a67062accb0cdb59fa68aef913","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.32c17af.tgz","fileCount":257,"integrity":"sha512-bAWMlhz/dbzRmAji2kXDs6p9SvYAnED47RMF3CZRBSadDbbYkH4GyLnq4VD5V76TG0B3A1fIlGGjziWRmEQ7Ug==","signatures":[{"sig":"MEQCIGTt2QYYr+xKzCxAo1U3YLlkTrkjnTjaHfFXMR8t+4IYAiBsCXKpni5T7hXjDjytgOOtHLt0Uf2LfzuITbJmDdBItw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32637433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkET3eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdDA//e7qAwabq1g57/yBHNvnJYwEtpVufPsvyUiNcZqOo58Z6+zbJ\r\nS1mkeIDyFdbGFbAoOAT1N8lkhJiL5JM76FWSJY+9s0CkN/rOEVihNOW9h0gE\r\nEqjrds5jqzN92T2RyW7Dfs1I874EFlE8i3LIe2bv256clzs3K8vJBM7WL9L7\r\na6r6x/tWEQ7Tw+up+lj/IQYalA2FdDAfk33AJB7u5BtFzcb0iCATzTcQ1twv\r\nuGQo8217f843nfjxOy4icSp/SuMVwHmyU1L5GVyopF/s0xrcppdDF/6yNll2\r\niMV+p6XaFMvmSNcjjKYNXhNiuTbzT9b6SZP/jZK8rlLmAcS4FCOSZNKmZ+1V\r\nO4lbh4FooLf89f/aGzQxg2ncp7V4v3FbdUO13JeJNvb4sFedl7wCZYoW934Z\r\nGjxmkyPfk8Mo38rQ/tlzNv6ArlxiCUm+uqU3+mkGdlt2ogk/7Z4at9dHw7gv\r\ncw1cINMuEkcmgKRsZLSOgSwoN/RzntwXJFQ6wcpkr9x75fFvo2mHhbEK8zJn\r\nLz+ZvSf3A72sTMixybUNtE9EQ5pYrRadAmuZIZXfd+GwagmG+XtNazjqM8Jh\r\nKBh5Msbmo0Pc1VJeuBUb2DGMlEroDBHSGUnePH/fMJbI/ioyDzFLn3P5meK7\r\n3MMl9KjbFN02MRrfcy2a+7oL8ue5hCPCtOE=\r\n=8ygY\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"32c17af638ebbaff29d84b842fdb6f1ed2ad0325","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.32c17af_1678851549491_0.6846882893251753","host":"s3://npm-registry-packages"}},"0.0.0-experiment.8c8bb4e":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.8c8bb4e","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.8c8bb4e","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"10c3a3fc8710cbba6c5c65301f4bb5e972f4799e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.8c8bb4e.tgz","fileCount":257,"integrity":"sha512-T9NAWrLhQ7ASywdrINdzT0RDmHN3gCtpPsXVAQztC38zFAt46P06hPW/zONEAm8fSqDmAgT+4PezK8y8ZV52sA==","signatures":[{"sig":"MEQCIBSv6DNWfLnjHZcY95H1PMWkCwDMhavm/yu2ddn/Hgw/AiAZkaf76R/uzrHI/khtth/RtLfY48mVYRod/spW2elptQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32640304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEnSqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8LA//Tl/9DrOgGsd/El+c78A8QON3h84MqMmd2N1SZ46iCAlyX0YT\r\neQGIYap19mxlatizop7O8rQiDjMlNDALksHnJ3ivCMELICRomEkp21QRqjWi\r\nLt1KmJu4/qOLaGKkSF8zabkiVRBDe2BeCQczEj4K7B+BrHZD94han4e/dmj8\r\n+Ll0yxmWf47iUZdX59Wg5GIAPk0hn6uU70P3jVzNWAwFIASMl8B7hSJcm2Bm\r\n/miWaGxj6EkVpljkqpfZ64nvSRpOftZSRIn0CGYS32WG2GprTJwzOw38M603\r\nOeIxJbzcXNlnO+zzzrObkUR0BCwz2DUYP9j9OS1hNVlvIDulqFMd6xRPf2NC\r\nQGKGNJ458pi0z8i2ImnSi8go6K0nBPkOWg1EBsOi0sNOuEb2/n5WKKkuFEYa\r\n8CZpNnOWPV0vbe1v+tgoY33s+wGFH3uiNRnbqC4S41mv88qz9mDRxy6Lwx3b\r\njtmLRfZh+bGq5uXpGGNQmdbQeIlPsMM9H9BAnLjvGuZXOaZuUMRxUntbyC2k\r\nP2302qIni8hArbo6UXmPtqpWS6wx0px1NH8xDVvtI8BFhXFRnWsU1moGTV5Z\r\nPmE4AloxPmCqgAq4XHZ7pGRoYg509mW0HB9rPZqLmyx0vr/cgtRCuBCN0WgR\r\nlOTup6oPbJEQPEJsGISjpOE/pfnHhjdKfJI=\r\n=uKPX\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"8c8bb4ef00b6a5ef8c3a8cc4520e3f902574b6d8","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.8c8bb4e_1678931113920_0.42016194594088496","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d3ebaae":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d3ebaae","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d3ebaae","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"10b48901440e52aa446b8cd73de97e5fb14cde83","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d3ebaae.tgz","fileCount":257,"integrity":"sha512-9MOmO8HAUVlgwHDEnAyQjYY6/uCkbnOpRK6uS4wc0NiU4lKC+/IqnW6Kg2jdMRPCXpnygVlfW8gFZa3nGVBRhQ==","signatures":[{"sig":"MEQCIEbpXR/FuHPnlXNRP8STnCLzEtrg5UYVKCnJNlw5nwipAiBP01gSsRZcZLqQShn6SbMov7AFKsdRnABUYoNTrEO+vA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32640345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGRDQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVvg/+O1YemmOJFdUR1sWebKQL+ncuA84G7mMtly1K0QhdZD2ssZ44\r\nb3/Y8GAuqrBTRiTKLevwHpsjWAc8KASLsYLuQpErXrm4MC2qWZwhN/k06bnS\r\nzTmhYd29RZzLTMU+/DofT46WOCdz15nCjRQbjo0hwtHBHxH4ANz5ilmzIHmL\r\nwGTFnD7UiYib7Yh6mdYADliPZSn05/WeGo+346WJIhw2TZkL6GQTBa+fh3dc\r\nZH8VX+Rx/oLklA+2vTlr2bMq1yTdAwPk4NeqMb4rIz07Y8Er5JB/8EfPGfnU\r\nNq/h8pn1czvSt78J4P5LiTh8yXcto/nzh/CTMqYHvGdT/uU0/Rj9VUV2BMW6\r\nt7IIQiOB5SSMHkzjvVRIjA56ejAsmQRxtCIXXHK7tnanJWu+09BVIA1nqS25\r\nkTPpaJ0pD00cF3VvT2dnYW+bXYowcWP84wd74NH6u3VCAc6m7khMNz0rRUE9\r\nK7jkncRF/KDoshkAxqkaDAsiomB11MrZTtEWAAGupzBFCdmWxsrt1/7Jj2Gj\r\nD5Wbxt9Z67f9iqTf6HlmMSeAKMxHac8ufYPOzC7uJVyxLBipqYP6PknFYz2u\r\nJ9/nC90FD39mP1aAY30Q/gfZMzXMb54N5DtvW95Q/ZA10OjoJsoNoy/ilcCm\r\n78SwFYy0NVMKrV+j6i7JNtBVSGEoI5mOEZw=\r\n=3ArN\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"d3ebaae49c00d9f452b76dfd6a3e6490e05ff715","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d3ebaae_1679364304130_0.34016352389944937","host":"s3://npm-registry-packages"}},"0.0.0-experiment.f334dcc":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.f334dcc","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.f334dcc","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b5fc4936a55a90baa1d06071a6fb9284948f9717","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.f334dcc.tgz","fileCount":256,"integrity":"sha512-C6DJJ90eQ6sRF7aSxvOmKF/cx9RHwakj3uKKEAzpHanOLSeTFRBNeD4Lh3D41Wz1+T/0FCQvDFPpp4p2MFBatw==","signatures":[{"sig":"MEQCIAdxVNGYhswC09BoCkn4l2eBAJCm4FuGZ/Jk1bYjsMuPAiAaBFT4JSuc2CGiFfl0/9OT6mHYyAJTzxojIOYk3lcmWg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32636393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkG7hZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7GRAAiBUK/yAAVfzAL4T+tKK5bq1Mab4rwG0suKG6xTE0iol7DjB3\r\n5cmfvMmSI2nYqDo9Vy15r7WtNVxk2yY0cDwuiVhzxxBlevskYlnGUiagNDQg\r\nvuuaRF5dTAouFW37O8+DsIwWhNNc+MkcQjWIAM4IFisnCJyV2Hqik8DNaqgD\r\nEl6Ka/6OKWckGN9edsYtkemSaoi/1KYglVjY6K4eqjnk6i/RMDWBpyPzy/fE\r\nex+56XmHoBP7MxR64lRDerOpKBAWbofB2OupcPV/ofV9JW5CXDeHFA+MmljZ\r\n3jiaHpW8pt6n3i6RUaLNtdcmNWsF4amSjGnwrgfiHzcv66v+DPZywEmSIaJ4\r\nR5ca+SzAye6+7W3sgNqAch7rFyv3Pxdc9wsfKXKGSqRX2VVxvcqySnT9MHXH\r\noSWQ+hG1Od7lW69PezXdk79h+69FsEJ3v6/MNiujNczqAjOAEYI1DaMWk6g0\r\ngRmgM1PvsrNiUVsjZgJAjs69EaIX2aJmJ9+cT+VIlYM+0TZCSQvlBjL7hEwf\r\nrvgL4W568uuV512mQkeP+L0SdxV9faGeTJletod4hVUwaYlWsI31hrllfiBK\r\nGb/P3pI2glUO17615gglPN1+Idc1xr26vEbl9cxGeDloeic0E4P3xeiRLDr2\r\n4RQYS2pV/sJbeQF2DqyT9aZ1v6Oj15UQ/1c=\r\n=yGc2\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"f334dcca8156764820728b874a126c0799491ac9","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.f334dcc_1679538265216_0.7819559673718584","host":"s3://npm-registry-packages"}},"0.0.0-experiment.ec31ca2":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.ec31ca2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.ec31ca2","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"1e74034ba95c6766bf2571d167758edd9445e573","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.ec31ca2.tgz","fileCount":257,"integrity":"sha512-4OCEJhqkwpX4IxWmkLa2J5MucHiI713Pj13zZQ4peFQ8e/MQnJxduskovP55P6vqLNA6qdqrVrDywmm0Mp51aQ==","signatures":[{"sig":"MEUCICbBDKOxRAq0V4aTTreYJg/QPB0bT5sWopTVJFCjZ12dAiEAkS23tJYVlQD4mHHyi4XsFgb6mxN1R57vAHVEE7yXp8I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32640479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkG7oYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrF5RAAnLI0QvmXbtVnRlKaSfHP+H+ut2aN3++915TH6gGt4kN5IYeg\r\nr5i4F2Zwfh8C3hm3EwQ3uR+UGS6qwFJDwR0SJrZnQCSVm5EqCctDPI9yD6K3\r\nppWxaxXoOAH0TIzgj5k9ip/64Gb880bpHEGuRVjJlXd71pHXEZJU653kRYFy\r\noe0HfdxU3hxHppI08Wa3vpjDbwZWcGdZ0CZHqWInYLhKd3dexzbOLBrQZeqx\r\nt4N7OodhUJmjLl9TzOum6eoJVeVDZO0GlYRbB3ykLL4+JR+2VqptYpA4p7yx\r\nsLFoSteKvKfE0zjcjqD/NHAKlNCwSEDkEQDWYac4k8gGpoHBfMHVel/GD8WI\r\nSujeVOSj2EAeJqOF8jtLO6+cP/Z0mRnFMMyD2Uu4mp+0Ccx8AoEBujPbgf31\r\nRz7FIx3vUr4Po9WYaq7PuJv14dGwuLpPJU/es6VliZXG/FJuHisAWIfO1xNN\r\nKntr7dpWqCy9RwTsKhqppNpY/p9iSaysyaMUOLSVu2snW3SAHqXZkrQZ65G1\r\nKLTQDXyou6OMbwg1XlUkqBYAGMlvVM3XICdDHNb/FeGtT037aPmxlpc0HAPd\r\nZ8fuV4ldrWe1EqIQoPE2yg1gaVIv3N0x7E+KT7OXHayOwnmJ/nFXBk4xvtKb\r\nDarJ1NEVZ8rIbE5IQ2tJCtQmmeYmPJn+J98=\r\n=6D87\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ec31ca2b2b55a285db6dd45a1b8688661884d69c","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.ec31ca2_1679538712449_0.8712438925450425","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6a0d039":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6a0d039","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6a0d039","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"eef13efb74ac05b39da5e9ee74cb4c2d2004ddea","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6a0d039.tgz","fileCount":257,"integrity":"sha512-fs7a3xsllGE81zXMqhn7dS5lq4eSTXWNAJR+F4dCW+UbbA3gLd4SM41/yU50wlIwdl6cjElY6qtesmMjewsKeA==","signatures":[{"sig":"MEQCIExAqoe0F2abZBHl8LWN60cXCIxOri+GQcHvG6sQOu3qAiBLJUb/AdtIyZ0Ecp+0nZYJW7Ok/q8A9e43mm5flyPhuw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32640458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkG8a7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoblQ//bXxoRtNxQsJbhRdD/cFSSkrq3x/ZsSPwFyaht0/Fjd4Nwzia\r\nRaY+knJapzOgARrs0bI6zaR1TpnWxH/dv/Ir/SXuSLHzWUVo6eFzgjRyuwSI\r\nSt6w6houDGKiQjBmmw3WHWhalyMaclk+TV65uXi8aHsBb/ulKmd1SWvEtynY\r\nfxTc4pzYCECn/33S9Jb0RQpu23sqUG/4KOjXZEl21In+4jlRMO9GctPlW9jC\r\nCBoLxIc6w4jj0vTC9smVtjKQuTj4rlRAFyD+kjkt6O4mDQG4WTeRtryZaFkB\r\ns93Pu5TpqCKCjoW8dfJpR6K2sLGxRtsslUup5hoGbJUO8mv8Ye8p5sObr4gi\r\nrDyobb6X6+hHEvCvncF8sb7nlHCQ+N4muuRvsY7b13UKTo6QQv+4YtNWobq5\r\nqOOtK2cqkkcf+WzyTaSDMzMELbY50HHFGcNxO74LQy2mcZvKAzboWIE6hSrc\r\nLLntE/O+OuPYLSJASjLGOKz3qu0UzW0A1cPLBYBRb4zUHhrN0hPTIKuSsF5v\r\no/lDHrxYcGXN8230t+rgo8sP52Dpkbf6tRr3NYg1qLgKKHH9lyK3aAfWzmqw\r\n8l7ybBIKenCaWdDdP3VT0UNnaSsKUeb0m0iy4OVF4GgwIwqx5k5KlpOIhds/\r\nolmUgih/cWyViu1J9RXCv+35F6WyiOU/A1U=\r\n=ormC\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"6a0d039903401cb57b29087230c47bcd3b84ee8d","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"^3.7.2","cookie":"^0.4.1","hls.js":"^1.1.5","core-js":"^3.16.3","postcss":"^7","@vime/core":"^5.3.1","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.0","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.2.2","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","path":"^0.12.7","vite":"^3.1.8","react":"^18.2.0","tslib":"^2.0.0","dotenv":"^10.0.0","eslint":"^7.22.0","rollup":"^2.55.1","semver":"^7.3.8","svelte":"^3.34.0","ts-jest":"^29.0.3","webpack":"^5.74.0","playroom":"0.28.0","prettier":"~2.2.1","react-dom":"^18.2.0","ts-loader":"^9.4.1","@percy/cli":"^1.15.0","babel-jest":"^29.3.1","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.4.3","typescript":"^4.8.4","@babel/core":"^7.14.8","@types/jest":"^29.2.5","lint-staged":"^12.4.1","babel-loader":"^8.2.5","svelte-check":"^2.0.0","@sveltejs/kit":"next","@types/cookie":"^0.4.0","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.2","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.4","@playwright/test":"^1.29.2","@storybook/react":"^6.5.13","@babel/preset-env":"^7.14.9","@storybook/svelte":"^6.5.13","@sveltejs/package":"^1.0.0-next.5","svelte-preprocess":"^4.0.0","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.2.0","@babel/runtime-corejs3":"^7.14.9","@rollup/plugin-replace":"^3.0.0","@storybook/addon-links":"^6.5.13","eslint-config-prettier":"^8.1.0","jest-environment-jsdom":"^29.3.1","prettier-plugin-svelte":"^2.2.0","@rollup/plugin-commonjs":"^22.0.0","@testing-library/svelte":"^3.0.3","@babel/preset-typescript":"^7.15.0","@storybook/addon-actions":"^6.5.13","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.19.0","@rollup/plugin-node-resolve":"^13.0.4","@storybook/addon-essentials":"^6.5.13","@storybook/addon-svelte-csf":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.19.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6a0d039_1679541947438_0.7165593316630128","host":"s3://npm-registry-packages"}},"0.0.0-experiment.0900eb6":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.0900eb6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.0900eb6","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a42f2973a61611751b353579d6fca5ac85ac5df3","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.0900eb6.tgz","fileCount":257,"integrity":"sha512-uCBy/30J6mjR+oIq0KKkPe4G4XxLWbRLxTGSp4XDrarB9nAz+yo7uWVxVsq2YdlQe4apjAN308XSeNwXidJN2g==","signatures":[{"sig":"MEUCIBBpqXRboRgy9wMZN9xVAmGaNAHzKOZlpyBTCAv7Ry5sAiEAvrJNgoEpcxI7QRMGZiaRmoN1nHEl2RIAIdy4mSZmRBw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33468038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkG9XkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwAg/+I3EXA0/1nu4fQXBVkRkRA60U5kir4M7xj625meiSuSkFbpus\r\nd7fnRViZgs/nTNK0VU4WOyQz1dHrnoRFIiXk6Qe79wev2t2lqhA7gPKCzPOh\r\nTGnpeTZfrzfkl2imwLwi/Xw+x4cNUjyCbxgTNj2+j6pu9fNJ8dVllwP2iP2w\r\n733jTL8Ct6/llL7bEMBFfetjMb9SImOf5/HpJ3jhM+q51SU63ZRLInIAN2YP\r\nmqBIUv6tln2DqrozhmCyymy/zh0QWxtpkAdpPOKypD2TEqJSXC1j2pfxUo4c\r\nnL4xt84W2BWoW/RTQ8fmzmibMHPwCozFMkYKaoYHJfLNu2nDSbc1LNreTtyn\r\nAjghnLuP97frAX3x/nVkCFiC8pjVU0y87Rz+gsGYH55y/rQoXCZNrqrJYmfT\r\npYL4G3Apc5ACV9RHVT52779o2IOFLiSR8kdzCykZpN07iUEeD+ts1qY5EOll\r\nubIvslLtmW2/wKEo5x9NgnyczrD/dTCBR+PYnqaBBgJCqDAgFxSPrBtU39c+\r\nqk9ZnxCxOO3QSdzHpUsUVnDs0KWARgL01G7ZyCQPp4kIt3z/ffqRmmT8+4ri\r\nBxTUiBceyQbCvfkzR80SoMnYo722ynwVESLVYc3c8+Cgmfhxa6RMNsZvCdiN\r\nQaqT9gCMHDqW5JvZ1keI5yslyknSI21sd7s=\r\n=kRMR\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"0900eb6aa79120be8e42545b804f466844a90ba3","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.3","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.19.1","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.0900eb6_1679545827483_0.7624905093497769","host":"s3://npm-registry-packages"}},"0.0.0-experiment.1101c03":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.1101c03","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.1101c03","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"56cdd75596ad6e30b43c06650ae8a361bcc69057","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.1101c03.tgz","fileCount":257,"integrity":"sha512-fNd3qzFPXVYWMrj4MC/gUdy/DuKqH3pVKlXiMCNDHA18qJbKcH1e/p/P3RP3f8JGouRDDzwyQmxo+ruDpbG+oA==","signatures":[{"sig":"MEYCIQDGm4PD25mrJeHFLBro6TuTtJN7cLiWwuCEbMnu9v7BUAIhAP5YjRXtomCRvmZ4FCcnW37Pe8rBTu7hhih+9WtFMSsT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33474850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOJD4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqyCRAAlHETKQfyEvmuPOLBBskdAIT2YUfcVFu+19WO7YMczPsLmTN/\r\nLJv7KiUy+Pe9sKPgeY1GyGjwjp6ZQ/ascwH5b6Y+kjrrmnwGpZufpXNGOnJD\r\nIe/Xjg6U/qfuSIHSd2c23dPZ2xAfgF03DogcjE5Eqriui9iIOf82W4kXWZ+P\r\ncszYsgG1pAAZHm7GpNSO6Txk2IMW6YHSyTamTLGC5m+COHUUP3Vj/j8MkOf7\r\nWlDpXEW/wNvYl3+mrwlauF2Z90IRBIeZerZvwONpv3PalKmxnaSZDlmJgVxd\r\ns3PJnmM/kTDVkWHoNDbQN4TfKpGwlm+RaG+OigNdVQPfbOPbgI2QKQU2RoHA\r\nYJl55TwUw0Gh7TURi3JAAxgWnotEjQZEY3YRBbYccSyRJKxrCkEtCj1keLnD\r\nnwLbiVQsMGot8cd5HNfSviUgvi+rWLAG65krizlNkoNE+TJX6lA/QciFoQeY\r\nEeizvzuj8IdYr+btp/JHlFYy3ATi3+ZkNz1XrMoO5iptGbcd64jwFJawa1pw\r\n8ve6n5U10C4N3gW6gJtBQlnGZNzDzVWAcYpi1jKH6K39Auyh0GmnZlYeC3cG\r\nMuEjBghwAQEsB9Ooiin1MPE764/Y2xrxQI5nxb7g8F9QyaFg4oMk4QMZCnh0\r\nigTeitkna+HH37mJpj8vJmf+EYrEhL9XeqU=\r\n=bGKf\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"1101c030442e5632ba85024606685687b504f94d","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.1101c03_1681428728500_0.04931669478013023","host":"s3://npm-registry-packages"}},"0.0.0-experiment.ed7fe6a":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.ed7fe6a","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.ed7fe6a","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"dd076cb61920c615e430c3c6a20b09e70dc117f3","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.ed7fe6a.tgz","fileCount":257,"integrity":"sha512-s6BZS+HDxeQU0kt8ukDe00w1OiRKFOPNKJGJjqSm2JMp2F5+KViV98XBiqJL4YGfneAjsw3/jKqApm1SXOqeSg==","signatures":[{"sig":"MEQCIGbm48BtGat2sQGkrMKLqI4VmZyInO61viRlxa4pPVDeAiBg2Bu7ajcnm51JjqL0fkBEdUwbRSZgNEniMC4SinKY/Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33475826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOJcVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9Gw/8CsZBf3NdzcFl9yr/+pgPFu76NBzex2zy6gJ+Y4yfj53MFFYc\r\n+54C8LUSN+aLZEIq+mhsFFbvTt7VY651KsqPPKvl/09flldk0jlh5dZJNg0m\r\nS4Q8Gu+QLSmuWMrIAPA+ZGA7xYrWCPNcFbYv5cOLs1z4U+T5IFMPznJssoyI\r\npnmkvTJAiHf0rmTxltfHroqjw8OciqxryGLDl8AheTxxrjlN6WddnLLb9B3r\r\nuzV8Md+w+jnaHkDLzqm95WpOjG8xBnhImBP/NiTSn0EawuYoHB1h4+YtIch4\r\n9W4Ng5uj3pbIoYSboS5ECw+BjJuQspMQj/c/GajVFPXDH5OrYiwEeEwiWIsX\r\ntbwE3CPkt2A1K4mi3eQGUvj5YHT6B7bd0TLzqKtrk4a4EVRQwmEb+ncNh50s\r\nrfpzBLVCvzhdYEI0QHQvA8D+iOTKlJEmRiSSdfs2oQeuFli3NjOE5zq7tCEi\r\nk2Os/aWtpNvb5GjR8/Cv3x0b29McOb6VuZNYsxGzx7j8YtchO+e0NoLcuOrn\r\nmMilEHuaGTngDF4QvBfhQNMYhENfs/7lCFGX1kjtIk0PX8DD0JMBjodqCE74\r\nk4SvfoaSrO92e921o12wRmNxKAqx98wsWv/PiWyDbUMwJjVGLAOYGMUPqte+\r\nisQtFJHdTMegs36rSSnM6ijUGGlOHQHiSrM=\r\n=AiM5\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ed7fe6a707427ae2b965023a10ae14d6660119b4","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.ed7fe6a_1681430292483_0.8848419985565461","host":"s3://npm-registry-packages"}},"0.0.0-experiment.0fc013a":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.0fc013a","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.0fc013a","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"27ad210be97e9cbc14bcc377917224f2e2f53d51","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.0fc013a.tgz","fileCount":257,"integrity":"sha512-OOXHIFYe1HSIpONm55LyLHHBUmQx8NaYprsIF0ypbwNu3pjLRlnMLmrEmLlou3XlATPkbop/csgd0vAwDPjW/Q==","signatures":[{"sig":"MEQCIGPt3nJ3iAiCEoe8UrDEe6LSZWXFlZK/01eg0FzlR0PpAiAu6ZPYauCxbZaessJKhAoTvfzPvy66I6ktYNU5G+Bsaw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33477202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPKgBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5QQ//eCrmGk7BOM6vVmMCjbtJa7uew9/+tKLO30YGyuXcnW4K0oOx\r\n8q+lQ26XQgapzX6Tc8BbPrgn/svi9BVbumKo0qf3YwkactSDHL9+U7hdtg5t\r\nHpFQYA90vRJPw6PcUAFZ9qaEiRIK1Dc5htogerG5sAUjsce6dRCHRbXuMHgJ\r\nLxg5WJ5WVdNsO9tLDSwjd/upnyI0TeUiDUlB4XJjghjpvCsff4K5HJWYsOJc\r\nfYT8muTD7iznaMorPY196lZfLA32OV3ERZ3xmYQvLAWtknSl7J89f0JnLa+G\r\nzHd41Xsu58lpZpT3Bi0xdSF81wzJPZKfsMSpYHNIr9uL+P4V3uEWlQrAwVyC\r\nSSzJsn3HroYqkTSnlavP47eaK40ZH/3MXMTEVoR+cpQRnJ8CHw5O71LDbx+x\r\nh+TD9n2QJB1I3kqfcZtLGi4pXwTQe9CY321owoE3maOke+QHkWyUx0FveT8+\r\ni+N+EKG2UDwpgEh/1EWF9Uxg4DEzU9DIRqBKD9sxFn3rvEsEqCR/RlxkCdkv\r\nBguPWdeYtjGJ+PXLolYDF9xgCD4sP6rC+vvJnlXKqstGf8WPuU6oZ+yyVEQb\r\nz7n6R8rZF2MGL8gqLs2WO04MldZAizsEEeDmPvQ2BPAfvdSonhDlWST/eQ45\r\nU+tYHjNS4eapNcwSmuKMybOyynBZiBzRv4o=\r\n=sy9c\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"0fc013a1d87fef8c5f4264a4c5f01b0b8a332116","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.0fc013a_1681696769399_0.4942771346836736","host":"s3://npm-registry-packages"}},"0.0.0-experiment.48c6fb1":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.48c6fb1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.48c6fb1","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"8dbbe2f2dea66c6b86fbfc3a38d0031918392c0b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.48c6fb1.tgz","fileCount":257,"integrity":"sha512-0G4HppAUcwS3z1QEx95akAmnVEwgzgniHfaX8CTmci4sUk4H/XdZ4tJlC8PQnAWwNUwnMYCU617bEELMzUUonA==","signatures":[{"sig":"MEQCIEqPTuSLNcVA9RevPqja6xO3tDgsti4wZ8guQaPP5lBtAiBkLu/Ll5NflOd4pyUtpQ0ogb7S6YyeK1jEbN8/wQR+Tw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33478001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPOk0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoshA//R9SzUuXyTKJt8lztHFASWnjsiGx9GV711AMTP16QP6gwCzpS\r\nexKCiHrtQQCGH3DvUkCbym7IhWfOrU+oCu3cBupfcVBnW2h7W2415jcVP7Jg\r\nM4ArXu+FtVkdFU1WyTtYgrFB6475oyIOCCEr/IkSbOqdy0eTixKySr7SU5az\r\nmAXedCfQIYL+ksds2k/IOcz8VT+YsPpwsofwnsdavVOWdBtthKlJuFZGILoE\r\nDPTCyKyeTRiEDVDI4PXjbnZ07dBTG3q9Hg2d2XSc/CMlrcF6QiyQawN/Zwp+\r\nUfpb+h0ExAeC2tyaanp8xibomwl+NiJvPLF0AKIHW2AQIYksMGJ1UiY+cWo2\r\n+3wJdkBq+vlA+Ps18ci1jDUOEufAIIdYVXeHzdJhF6jNlG1VQ6q02eaI9D4r\r\nlO/G44kM4Ak8qsS1uvnNNGMR+MU8M7oBVeHXqTOjsnYHLAMWPEMuq1xZQUth\r\n03F2p2JcFOqwOJQgXlxKr9rQzkBH2ikSAZMrjxkPRLaorhgb8aXAqWgNJ63i\r\nNhwbGtifQb8sAf8yYcBoQuv0xxtFtLc+BmR8aB6v2Y1oGgUGPR0e/mX9Eki6\r\nJ/CeArS/oyapj3c+U4GOue3a/K2ilZovb6nOdJhDw7N+bJwtQZTMGtqbaCof\r\nZN0NnC5UFWXwLYc6b18DFdUdUDUS840t+BI=\r\n=92Bi\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"48c6fb1b055d1b83766610278cd34815f52063ee","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.48c6fb1_1681713459474_0.8828429413084042","host":"s3://npm-registry-packages"}},"0.0.0-experiment.b1d6b73":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.b1d6b73","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.b1d6b73","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"77d9247e6b24724848931d7a716951d2ba2a6211","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.b1d6b73.tgz","fileCount":257,"integrity":"sha512-d36HYEfUohq3nfX+MoGXCFCjQSaSEhAdMzbuauUijyyhtqaN4M0AvCAetHu+2TBL7bx/tuI5L6lFq8KwjXZJPA==","signatures":[{"sig":"MEYCIQCazwhYMZh683NDF9R/5XpSqhzNAJAj9N7UGOCa0ZNlawIhAIYoZMyKN0DaFvCz3Ynsbr1LKYDNim9JQ/pAwfeZzYtW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33478001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPVIaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMDw/8D5NYzRGAg/kDKupVXr0LDkAncsysT6VxwzuR9sSx+FQOLCHU\r\nysfy2YzHctBNmb7l7bkXsdMCYAHRCSSfg2zntHEkZ/uPzXp0HPGjwmZQYH3q\r\nXBsGTdiEQIuNWirlX5l+59Nk03HoC37PvRew2LF9Y+PVyBmI5JpbChzxP4zn\r\nVfni0hOz21bjHzJwuqtdb2moSkYyksCE2lZJuiBR8hRMnrMEw1ushZaUmDqA\r\nv2eIuISq6SDA1xvy5s+ReCAzNsG4LwRZQhmDYM2Vq3M7zgOEpixsQQAHSFzR\r\n7FuxmaL3Lxk+4IOb5OkwMf5348S2BvFG1G91eRBT2dU2Ee313wUvJtxtSh51\r\nDJRE1/M7l6yxkK2aqxmoKKtlkd6ylgdjS6jIXZECD4fJ6TD+jkzc5GFk7Hro\r\nxDnSUXcDk+VM81ipm5Qp9jPn22Wyk+fUI6QF6gcn9rs/4iNu4xKDD0BTQRKp\r\n1BNihWIJoyo/d2rbDBzI6/KqfUQSsbUOS38kHkS+QzbXN5SvL5kPA7rFDOWW\r\nEbVWnBehb2xXuA4+b/tOz+FFS2759oFP2M3vScoEJj5qe4jox3SNwKBQDJUx\r\nc74RhdS4DIqw9pyTBI5hK7xvs3tkyFyxj1lyeZZMc9685KgUsVX6DzWx6MIz\r\nffzCjrom5IyzmhSOZ8rnOkVInZ1hrUeJZyA=\r\n=MPhX\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"b1d6b738c72498a91ca01f0555193aa60620a054","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.b1d6b73_1681740314100_0.6307903149004976","host":"s3://npm-registry-packages"}},"0.0.0-experiment.e2be29e":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.e2be29e","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.e2be29e","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6ec06777965ae31534c5c36b11f33ca5eb0e67f6","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.e2be29e.tgz","fileCount":257,"integrity":"sha512-VNXVDUT4hmjeM6gnBmxdUn9X1gyD4iNKTMJ2GO4KVIY70qkTSdQ5A6s0727IuIYKxvfCLxyLNC6CAGJky90JyQ==","signatures":[{"sig":"MEYCIQCIkZA0wKKeWziXTZ/VG5q6YmKvTmp23z35gFMgcfmhgAIhAOoHuOGXMzpbVEaQVpK/U77UOINrgc6ZlmiNgpRWhc65","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33477472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPeInACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKGw/+J6qjWDZyuJ1pH+g4e7MZWly0nZM9xZg0BOOE9M92QsAa/Ks2\r\ndfvLrhoRznIXYm7Go1kPdW1rTJEcaLN53W8mdzgaKW3T5oBcRFI9QMWJ1Sm6\r\njnwavui6NkhN4zC75cNQ3oNC4hiUNGOUAns7+WRLNKSOH3PrgQB8rfzDa8yl\r\nSxmHrHpRxzlSOMHze+hc4V91H05ZiVNVEsPggsswdU+sEaOG+FqSgVZiOVBb\r\nF22T7JTXb4i3ilB4UhHRtUCwhLawcshQZ/SN/w8pOKpXugh7lPehdYpZur9x\r\nfnDiq4lOZWrk3XD3+iRvCbs5opRrw06fhZc4+5bZ2Tyk70bmz1TneKq3um8G\r\ni3FWQUDM/OWu48ephnX2bHgUAKdNBgxvM7zcirNFuRH3yt31aV9K7D623Pec\r\nB8Py6aiMwUFyFopDASvXoh5M1tkb74H5NSu2nOCjAD8L1MyV1N4S0EsZ666R\r\nlF7Eq7PgE7k5Y88dxIQQLPG6h56Jrfe5Pj7cpNQO/fX/wbRTk2wX2X8DIBgC\r\ni23XEj0IqzfU4ad3LDhKbsjQ89j5YA1TV93+001A/tQ/5TksHyyISNU37LQZ\r\nGpq/Ar7EnxZP6ViI+3noMzgILuRJ2v68olbnxLsXOfQ2FhNTRZ4zy8FM+39N\r\nRTtDgYib0L05BTzLMaLuek1Ef/kjKTmCkkU=\r\n=IYDs\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"e2be29eec45fe3aaaf6c1b46c9e2a11c097c04ab","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.e2be29e_1681777191323_0.8841804803067415","host":"s3://npm-registry-packages"}},"0.0.0-experiment.4a6cfdd":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.4a6cfdd","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.4a6cfdd","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6b35e1ec7d13d5c0e8880815e5b1a66e6645e3fd","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.4a6cfdd.tgz","fileCount":257,"integrity":"sha512-IVMGJvzlF54fnfyB96B8CwQy5D1Lkoee1AgTlQtuR6g15lLFFdrDR4WBHnNRy4Mu6hUM1KCBRCHhtwA9XxT0Dg==","signatures":[{"sig":"MEUCIAvswdZ6HmTxJwgxMg+l7/x2havT7AfDCPueQrccMNr7AiEAxIpMmx7allsIuOkKId09Qqju0nE9O+MkdMFcKUhDqyU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33478838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkP0TEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDAA/8DqzRvwZDqkSbICStHYKtIfJBkG5dvld1ugcurgfZ/ETvSl7l\r\nSn5Xi5a+/8hjyed+4L3qJ1m/MSdQhjI4Ks4yJUCYDiXoEHtOI5gRoewZViFi\r\n77zGckLzZ9SMMYEs4sMqOsdt8OpFrjtuD1AVF4meTmI3N1WKXyIy9DzHnjM2\r\nE5jVQtCt8cmwl+4SKUuIlL0UGKWYNaCiWJFYLVIzD3C5stYvkzz3ftxeXzP8\r\nHkwDSdF2I+Pmudv30Ta4yoK01BQcGZlZBDVtdlVC/M3RrZYay6JmJ+O6whSt\r\n4s/mB/Y3gYzNoc0wkrhOpNkws+xJh5dBDMHqeD9pjeb//a0dBvIWJp38RqL7\r\nZOlt2Tw02jw5Zo0pRou6pp8MHYRDNVsWKSHvaVraShycES5PsGOaS3n4fZOQ\r\ntZKBOn6Xu633IRfEPslNYVfpK/3p/dFt+X8iLqhXPzn6B9iHpbtMaVY+AJKm\r\nctPCBN7kOnBHsdq0HADXHQiqyYpMJi329wpO9423oyA/CO9ATf/P7plSmKR2\r\nyKamOmoy8RUzlkLc37U1VbYVLHXj5/rDiLCT4RR7h5gubVEwlZzygprmxC7x\r\nllbsOW40xGSnF/BGEfxZcDmLvoTIDQ4dhz2dv7HJ4AaByy/HCP5rF2AhivAy\r\nLxxKBcMJ/8ug7s+JdbOSgJRTKIQQ5IaQ91U=\r\n=xRZV\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"4a6cfddc93ff236d97b892c377d962bec10c0b60","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.4a6cfdd_1681867971521_0.6000620246284896","host":"s3://npm-registry-packages"}},"0.0.0-experiment.ae62164":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.ae62164","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.ae62164","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6988d00a4c311a83b93a7f628446bd3210b42071","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.ae62164.tgz","fileCount":257,"integrity":"sha512-ntep+H/hChGSu9J4CVJAonKRzyETe2w1lkbZO+wTqmqS/0AD/t15wbAx20JOSE54Tcpnj6wkbLFwaJKO//1WGg==","signatures":[{"sig":"MEUCIArQQvR1rwNGP7rohp8cd9totaOYgY5Lew+PcMpzmJHzAiEAjYTW3jsZ9KU9C7/7/ERSNqFWZYegKU7F005ebVGFLyM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33512785,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkP4QPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpigBAAiYsILY9LKdscsRnZKDQWqZjA5X6PK8dlJ6lDJS/Q/x2XP6rC\r\n26zOVRcffgH06w0v4t3RbFdgcPkjluw4dCkh2Mot/xY46Dl/ax5TThQeSX2Q\r\ny6R/M5SZXwSlBZEz+/Iot9FcRBndFBrmx4B712u0LPuK4Wp/f5nHBCRVRPJZ\r\nxFNZ1hxF30UtnvLZHwBuvVUuZ9n0QulBQMI7/8PGYgkleAWAhBO4bOUyE1L7\r\nlEasF6duEzcAf1nJcN+ZMpITAHJ+jg9KS2jYM+8kAaFZolYs+THfUATSsdMS\r\nYqf+eI0W5NXpIYJw18MuYSJZmsTHMLH7gyzEVoxJ/ajUD3xGJ370B1kiFLkL\r\naOvhLl/AlZ8c5rS4f+e7qWyFEM6utm7d7uVTB58R73tH3Pek3l8XYJ5pPypB\r\nC3sZGEHMqlov/XZj9MnOgqWB7jBwIZZwqwpdcmhN9BKFGJ20qjThKiq0x4Of\r\nYCpjIM1NE6NYoSV36fWdGkLGs6ocWHfSCXlS8QNaa8heXg9P6QT7j7tMeVfb\r\n1Pd60v9wIIZXKYyfxQommBYxIK0aCR3k+3D3QrbhUsU4qfO8hcgY/3g5GwyP\r\nty53IdgjabzZr0QbQUjUKmSSDS/WUU2ByXmKVlX95dz7WtU/+SuNhBP3HmZG\r\nYsWvUJUjsbPnG8zKwZyN1g9RLvvp5lKXoXM=\r\n=bi5p\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ae621646a095a63e7a8cff2dd2cb6be243e49555","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.ae62164_1681884174872_0.6971165419209973","host":"s3://npm-registry-packages"}},"0.0.0-experiment.bdde5cf":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.bdde5cf","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.bdde5cf","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"aeb19d72c3547d8a8b511aee80c530bf9a2ddc59","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.bdde5cf.tgz","fileCount":257,"integrity":"sha512-xzEPXoucAwEZfhjffQxvtB3Dp/xxyIy0A74w4khAS0HMcFv7v4Rk4HZhcGnkzqaUzs3fNsGiJ5rAY6dqDGNrfQ==","signatures":[{"sig":"MEUCIQCcQg7FV3m7SiNkXVmmqbeIQkMmBWwaH+A5EGpyHJweRAIgSt+STa9Sbl4KOM90fwzpar3Yqe84m7C2Md70sPHMwco=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33512827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkP4VGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgBA//ZNKclptKhRo1WNWllZ7ps/vuilckMO784Zwytp93C6tPCrI3\r\nwqBFnk1fBqDOZHjXHgWxGvQOrBFBDkeCE5Ku26+IDBdNOARru/QsTSB31LlX\r\nGyxQ2rrZx1j2pzyfQml7Qry55MEFwlLakLqZ3a9dEnBVNen+YtZ9yL8ihINW\r\nWgTa9tHlgffV5MrDOcH7jt0wza6qu8FNgzspRgppUbP9SOcpT8KnHn9O7zGp\r\ndpsTrpNaYqDIjLCPCnH0sP05dUrjowQh41Y/UOaZt5srsFs+WJT6RkUeo1Ya\r\n34AKobeb5smXAZ+ifFbYUE9qQeiITvmGOuZbRgbNJtUfPXR/4vR6t5j7TqFL\r\n3/joVM93a5Y7hx84+G9FwaJo/wLAU8GlyY7nlwAs1AYhUYjQRcqTxEL/3wS7\r\n/LBsZpiXQEIxU+DaQekPxsvoGICiGrnr6uSBSIze72E4o7YHaGgQ5O94ZAOd\r\nWbMAYa080mMXYpPHYE39eGyoVvVsFN7zHyWHEdMgoNTx14fMEffbihmPF/OZ\r\n/qiV5OXO0Oc6j5gdN3q5/hjhNeKNOF6ob6GHbggmGruad7/NPfeY2x7GJKW1\r\nhmntK3vpwXQbyHmznBBbaig2/vo6mp0BGzg6ViYTnclh+rCY4WAHtvXZ8Hg8\r\niKLjJBLjQHuIsEZoVsvu2/v/LWPDt5bG1Mk=\r\n=MmaU\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"bdde5cfb373c53a5d9b039f24a0798f4f747461d","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.bdde5cf_1681884485957_0.9624944121965209","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6a2c11e":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6a2c11e","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6a2c11e","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6c1235b09534388763db66bca92d47c28e374421","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6a2c11e.tgz","fileCount":257,"integrity":"sha512-cuBXqiqZuOJc/cJ3yJ1oPrs5qxcODDeRDEeWgrFRt2D6W6chEqjAnVUEyyDXOJala8/VR7mYJ7dxwg/7A8yZgA==","signatures":[{"sig":"MEUCIHe2f3BS7VR3ii8i+tHiKQ2LOo7zGtU3Xo1IbUqP96H/AiEA6KWFB+qE2FX3wsurnggNODm4NeMGTKCF0lJHYMD0JvY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33480630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQIpXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFZhAAipBmMenGyBLF/zRPDLsBUHI841f9HbsTe6xeesotSsRntwbx\r\nJ6AY3wEWGQx3UYOd2gyrjUUF7b9qBEjIIHnxw53RSIYhJ1xgHSWhRPJlQzNf\r\nS82GAgKCYtIqld8wHnsoy77j05ufg+go8BU1pKHhIJS787c3mdVg7Pr7mEcM\r\nC8/xiJ3uF2qTWsczHQvI6rWVjd7L4UQMl8kKfLDGo3zF6C8wgwlyuB+KvMU+\r\n/vSQdzEpNbDuEKTFVY4acbHOi4+S/f4Pd9TRDz+EQWd22EWBt16b8jb1EBx2\r\n0SLYyWG9QMLw9+mg6sBA6J381TElI+Mz29hQAjHcVJ1nnFuZdCIywSjxgAQ+\r\ng586Gq+F/VjplE4l9UomDnpaSmPCd+Cndv6mkuBtE0UjdFzybx5zRDSFhEEf\r\nrLCezBv14+MJi7xXqZh7cP2x0OXuO9CW1nSHMx+CpKHtAjySrVW0OL3xWczf\r\n1aG3KG5mhQDJqVGJjX6jZs9b82sOzkjAooWVmIn1/nx1Ui4EUmKc++IZHR3A\r\nOPrK5buTjMuTNqMMcgj/FkQDCCzhYMvZe3f6U5twgG+81WPF9EPS1j7YqTMD\r\nUVuq8TY1uFnlgmCB/4OsWmbZtLU9XCYZOi51tTfQpguUW4lmgSNIDMuVCcH6\r\ntJRFfr5+H6jUPflHilKxY0fysYEYL1x0vIA=\r\n=0fji\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"6a2c11edfd6e684343705d818389f7d03421a37b","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6a2c11e_1681951319230_0.9267619880959659","host":"s3://npm-registry-packages"}},"0.0.0-experiment.df1068c":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.df1068c","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.df1068c","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"31223105b7560e45402b1d37284066811826b6aa","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.df1068c.tgz","fileCount":257,"integrity":"sha512-uVjL7vv+uBLJxlJZb9vhWsEEphqGCbVBBod1dHpE4X5bVfGU7+Iy1oxzEydKBNKCV6jyVyv/qJD4JVOpeCRSgw==","signatures":[{"sig":"MEUCIEYi+bHxCSGQnK43NwF7s0ZlF0A2h2DcFDKYGdoaMdXQAiEAjKU9ILkCBiO8wQBN5cVnpk+AQqKg5pJWlucgeWrtJ/Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33498405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQdzqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+Nw//ZQEUOzxwyYxUT5PzoOVTZfuFHp2e78En8QN2kGsMnqDz6WFX\r\nUKCMAPg5yOGmrdUsZP/o9ev+NZEeoK1kC0qLRCX/idkM0qF5Ejb19JATk4J7\r\n172FtOx5RDJPVZ4G9wDUcU1YNxpARo75woK257swOJWuD5NQ6RYXlJFpb4hg\r\nvueWcqKZ6LfvGym5ADSRzpjDWXzSHNwocYDnKnyeuQUAzmE9q9RxivNbIvGF\r\nYw+bUkF28zGz0Q9Zbkl7YArGbhKU0OyS7+0Y+EIhfzsYDJ6gq9Qo4HT+zwNx\r\n4oGtG+NFaHc8cKXhayX5JA+3BDaSZARrY2x/27XaCwByokkm7bJl7d6r3qXu\r\ngQShx/TkOvhNxhNMwDEIwd5/aGyvxGy7kR/DF/wVgJg+6hloX0MmXRb6Ibnb\r\nWhhrkPtYG3J/8Q8fTOCt3OjPOwvCFdrN38Ya+WGOU1KH5D+IfMLuaOgvPOgC\r\np9Uxax7LX3CAxvCJJ7CqPiAAXoJ2EvhTxGNxgWrKUVB8Tf7bnflhm32LTVYD\r\n4TZsqt1T9qWYMAtyto6Jzbk9mwYO/pAx3XbfGlpP3PABuJxkGrY2nr2pMPkK\r\nSPfAQV9JcCDM57ws9dHe0BNjSFBtgi0mpKS3nscO2H+xffRmJIHfEiAWaTX6\r\nRJA5aUlaKeAijaPxIwHFmosokTZbNamCLHU=\r\n=f/5m\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"df1068cf4fc70d1236d1bf2aa1a069d2d2dc4ae8","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.df1068c_1682037993822_0.42286403989421006","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9b529f1":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9b529f1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9b529f1","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7ec1e13e36bd4d5e6a5eb7781d7823fa0e3dda93","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9b529f1.tgz","fileCount":257,"integrity":"sha512-QVo6RjdxTBO57WAlhpCr/4IGVlXQd0v9naTeMIPaTlPDGmcsdDQfU70jlwYrt4petYHHkgD7eEhoqc0fvxwA+w==","signatures":[{"sig":"MEQCIAONSDAj2lnu4vEWe3/9iD+jsbrp2V/tanJbdTOTKI1hAiBPh4zVYJN3piVvYsk1fvvBi1oPGESbPipbZfXFvkrtLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33501567,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQeY5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp34A//aIax4pDtszARjU83byfFkHrqQTqNa6VPX7h+YqxZ7hVGxbSM\r\nX7a3HaddyK38J9dP3ebobRqTIi4zNrUqPOO4m3MJTShuhV8O8RlMus7DfL+q\r\n15MGbR9F30cIxNzIpWYCWUgRQDP9AaQTSOm5Y5FgikiPXzP8tQvVqN4AVxEm\r\npgmkMtieuHs/qZvZpgBX8/bhWH2zvDzwJAJHlzHkpa535Wp1NL+rg10eSq11\r\naeSUHmhUKzhemxJK9xGTlwU374pcW+S92cr2iyAhjt+SN6jP4fPDxGEWY271\r\nk2eCRG/AffFkGcvQPFoHZ63l9stDXdOB19Z8feCdWNeblhWSu+6LfpCfBZHP\r\nwoJ5gA9YGhIwfDsI2VnUgqlQAirFd+3cDggrUst+bNcnPJ4/vXirTd350Jcs\r\nIL6uCyKnqMVwdjSNSokZBYExAI6RldAYeZdIYy5whNIU9JiKBUU82qlpDei2\r\nd2B0Dy8mZ2luA5FO1jJb92cllFnSSFKrBOubEN3OOQ1QWrbggc5m/HwdTK4N\r\nmf2XfPsuXrCHeckSm3eUiA8kSApYZHUrWDpx+J6PxeXeP8WSY2tz+MvSodjj\r\n3V2gYz/qOx3N6V0rBtWCBS9FG8xI5IjL/UYHPbnNzv7KAZTT4HXxgcxrxYUV\r\nPM2hTXinXm/6fMgeBOXsROWFqxc3UgQM4QM=\r\n=WaEW\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"9b529f1aefaee7418eba86ce214b7362dfb1db25","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9b529f1_1682040376710_0.58490633159334","host":"s3://npm-registry-packages"}},"0.0.0-experiment.d7ed5d0":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.d7ed5d0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.d7ed5d0","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"6f9790ca626dcfc0922c7d8f4652760051e5d125","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.d7ed5d0.tgz","fileCount":257,"integrity":"sha512-EtrvcI9/CZDRP8W2F6c7VskL1iKhKo0ecKXTmDg07P5Jq0tU3PIbVPrcoYWt3Nw//VXZ3M81PLyW0yzdTKon6w==","signatures":[{"sig":"MEUCIQDCKWPZAjJm9UXGKruWTyBYMiTdHXQTxgB7loufsLiiJAIgKaA1wiSB2dShaguFdqgNhBB31f6knLyCs5e8Qc9Q0rg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33501639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQh89ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKFQ/8CAt9kKNyhqYla2cgYbtq0Ww7SN2h7oulY/gMemLiW2rhOunn\r\n1BAsmDqCCNKQlP3ZgDqycYXVBBk3Fn733EncWO/OMhDQ+8fX+JMZVaKTDbgg\r\ngxMYSehIbfQay6MTlwLJu/+KbJQuQaJKW+lqdBHthB0U33Q14hJ4oJitFjjM\r\nVN49ttVdi1ycJFnsSVYUoki4LQG2hAR8MUoEfY0jm+dK7f/G7jvyraisrvfx\r\nk6WM17Sjx1h/1Sfhzrulf38UKVzje3+5cuIW0ao01RSu4g4IChZe4ycawX3J\r\n2zSEIsUeU7aJ2GUzKBN5NHKd+kdeyMgY5zb1nBdrE04rMNxLdGPofMy5crvj\r\niYK+t1Leh9I20Q86R/ZehcnB7+DNY3xg4zVXFRV9/4iIbynXalHXvkq8sTHX\r\nhHstB6EGcaxVRLatEg3MC5gXe4uhv8OzEONc5Ib1m06IbwRfm2qUjkYJRHCS\r\nLJ/VuEV/ZfqJBWGU6L7QcXK86agI+nV5kdjVHBAvGUnDuwv3a6DkIRTp0f+z\r\nM+oh0YvEjpD670ZjJymTQ/h2ZqBzktrBjnXrZQkeB7EwFHwYuR4NGYmcgHEI\r\nkbisQn/NGC2hoVkq8zv2BGOuRN6D9zsDA4ZA1APT9r+SbT5vBbm+3slLli9H\r\n3dJsyCeMHGFOXTbXBkls7w5FmFWoxh8QQr4=\r\n=qqq5\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"d7ed5d0cac77ef662983c0a367767b745b043e59","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.d7ed5d0_1682054973464_0.5537528675553942","host":"s3://npm-registry-packages"}},"0.0.0-experiment.3627577":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.3627577","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.3627577","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3455483d09ccbe22aa7e85004443ff7ffaeda692","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.3627577.tgz","fileCount":257,"integrity":"sha512-huJ4LGqh8fAjrQOHEkF9dXPE/k3pceqjl4G03qrMH0/vYc2hcfZ7Ok1VAUMxhwYncx3j1frpt4wRbbKxxhG6Ww==","signatures":[{"sig":"MEYCIQCayyLDJhFmUAKy4/qVXt8eSRLqDu9dMh53rMePiP1A+wIhAKhRfnCPaTn63gNGe2IYTBeGPjGKzkgVDjflkZYEOZTV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33504344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQoTvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8xQ//TsqXUXXKo1cgyVzX07thnfonJhspay597KXt1PlOupF0hCpn\r\n46JB5/Fpzy6kZGh4TenAAs94j/HIEpsBAkJnSCulPn8tMXSzQAGS9DQa2mtV\r\nh/HPYRhtKbE9le0RVWl/E+FnH/wdfpHwetACr+P7COdfiVOG1PX3RQtb3wQa\r\nkN/5zMJ1lju7OmOb7uip3He193r1WxrUbGvZcMK2aIZEyJmB04dcCm1chQk1\r\nCGiruZ2b1sRigK5xZCkngXbt6lLvNFGbemVfZjXejV0wnD6J+Io+go4KIabA\r\nmdAAtdnv66lJzWFPyVn1qsjktif8ywKqLpZ/Q1P4zqy4xysAva7xlRbQjNEq\r\nF+McJ5/SHo7CaOSyrakWuk5q10iB2DSml2NDkBO0BVlab+JRZHCud2fSn86v\r\nbdFGDWnS+HuMzWh+Rf3Rog+HX2DGTjQsbhYID0LEncL6ZLgstcMyXajPapCP\r\nadctzBe11lsD2WVz392+GrY6b5zAdjMIbSxb1THOdAJcLqJfMkrJkGx1yO4r\r\nK/BpH115dDWtxC/6UCNKq7qid/ohHCefPfC+fT94aj95UhaNL3Xl3tBxy7V8\r\n5/DyoSlzDs8t/GEZrCjHg+c8p+MLP3bZJip9UxhxWxO9cmyh6yQ52RrSD9Oy\r\nzFp7M6/2ZZoXgIVswEEvQbUvpNLdpfD3rQ4=\r\n=8C5Y\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"3627577b870c0cc3978bbb7aebefe013c2844139","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.3627577_1682081006557_0.5685662907104825","host":"s3://npm-registry-packages"}},"0.0.0-experiment.7940ec1":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.7940ec1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.7940ec1","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"fba24e395cca47a7b77519c12707cd6031f01f1b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.7940ec1.tgz","fileCount":257,"integrity":"sha512-gWe5YWPPErSQiAQ5tIDQ9jUK200FCfp8v2/HlXkWY6yZpVs6ymXKxD+deunVrn3e0BHpzBlkfaAe1siEAVoXxw==","signatures":[{"sig":"MEQCIDYRf4g2hDK6A33PuIQf4GGvIVfEYMBGXGv5gc8qH4jcAiAraxI/5b991SoCRwZwOEjOb1SDcw4xbRvy9t2YZWNNww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33491270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQooGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJyxAAhqUoaiBiiLYQhb5xGczn/qqDvB5E8FFcsefOyGxEBt5z2zqp\r\n5fUZyGULrYzgcjy3Elwmbmb0gd3XtrSh7orTdE+aExcsHzJPv932MKkEkGpf\r\nArtnyEuYvquhEuFABIYcwdvKI8/LChy4ahV1u8Tt7fUSz9ZqYhJdSWLrdlrB\r\n9vkPLzWrXLU5Me1d7IcMVMDqPqHEYRNGnfQouQeo0UgrIaRdVBZcWGfmE11R\r\nXjA2evt2+IXzyS1/IgBgXWBv9YBWVtJj9HT4GaQLjXLiTBNhGW6e3hnZSkyh\r\nxwYz5NnvkkWJD9/ISVX/n5e5sdXI7ohLG/qJNDBFpTB/5VRyzfEevFbdBdAM\r\nVHhRpEFqAJVcAdF6Kcu4PnaMrx1MGStXTume9Qak1eT6K8MouhuMJvrOWOU8\r\nZ/aH26Drc4VDKm6y/47CsvEG6su12E1t5kE6WnTmRzFUzlAJLwpsIn1zuyDJ\r\nsl8YLMjrsFebB/iY5c1TvlP7fi16KnuCHu/C1MiE7txKG9NAl56sA3D9X+ir\r\nrYvIZrbsQ3lPrAG9QqOkGhxwTB+iDYipFMs4449/Nd5143MosOjmSahxoMRA\r\nlzSwfRHiXYioxmfWnjabTI9Os5zmbn9s36FE1wuayGWCHm+rB0heY3YchTYJ\r\n9uL4+D81zYb6+2mpdMg9rU3ySfcrIDmOriA=\r\n=wmM3\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"7940ec15f7e91a728d56bb3a0fb166a05af97092","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.7940ec1_1682082309642_0.7953008964101578","host":"s3://npm-registry-packages"}},"7.3.0":{"name":"@vouchfor/uikit","version":"7.3.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.3.0","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"429b409741227455ca84d6b40f38648c96e6f169","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.3.0.tgz","fileCount":257,"integrity":"sha512-kf5oagjJ0Rd9cfSxdE6xraD94FPIAKyzGgYsP5EoiXpTXu7w1T3f+uItGUgRdHuUUnVAO4160eoMDxFbstGlrg==","signatures":[{"sig":"MEUCIQCsfP7v82jbtnWHy5kpk1yfZRRLuhFSYeC5CskJzXmEYgIgZTPk4NPKO0VS0LcaLzgl+blY8Z2cK2L+hx3pbH8Y7j8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33491251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUxFPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMrA/8DcSfQ4qpq+I984Isfa9G5jawc3BPmUmkIS4wYrtqN4OfRB29\r\n6HK+fiVmhEAdLi+3lpnlPsaedYrF1OcTu1zWsho6tpC4cooziW62l3HfhGEF\r\nr42I3x2h3ydZDiqmVd+OV5+1mg3lcdEor35i4buYhVNBhxHiHkWmPn5tWus9\r\niZuePSpScati2okibHf18tNra1eqDm+DQ19GRDQ2og6wJWm/kNi1EQ7xWJ87\r\nKhR7CJ9nUzkY/G7EDFWYdLZGhMz+5XndOkDJYV5W1wI7VxnPN8B0khyFU6Vq\r\nZB5dXKu49kOpIs2dlEo0Rpl1iVx85w86E+xEobHt0RJRat88tC4SpFMhKRlA\r\n/t+/YIGfofSTq7z5oLGojcWGDkZbGrkdIlTkB7jsCCln6j0lyCpI9MpLVxrC\r\nC9BqvXoJjzIXbx/WwlfiVp58yf0THM6hGCTELb+96Kb6SvupvP5vxWjEe7Ht\r\nbL/+Q9wkEdOEghJkwlzNbv+uoDLSCPPKY43pzNmprTu8HtCrYnnEp2CqtD8S\r\nf2Vf36M5IM955g3078pYk+yfjMSbs5KWdRk6kvDjq8bTN88MmFPe7aonyS5p\r\nyW9jYygAorv/hGyea7TEckQguY4QW820++SKLpWgf0kbNvq351n7ik6SmjJm\r\nCnBdgB/nkCEQviANvU2fOF1bziYUdXdUA8A=\r\n=rX+B\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"08beba5d2a49603b7f1ff43764e10c3efbd3c17c","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.3.0_1683165518625_0.33466290041649405","host":"s3://npm-registry-packages"}},"7.3.1":{"name":"@vouchfor/uikit","version":"7.3.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.3.1","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4eb6116bf35cff5ad04b145036466cbc1a044d54","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.3.1.tgz","fileCount":257,"integrity":"sha512-VzYUtRTRC/ZCeh1Mx5W5ughmQzx3c3bBLAntr71hwZ728VaGzGCHybdIoWWXRNpvy5rFxbrvjA1X4iwwTWYojA==","signatures":[{"sig":"MEYCIQCAJ6vQWd1jgmeF6xhafHpLL2Q1R2BEI0a9xLaargJbmQIhANDcGQwUBWfQn/KDofkrgzFP+f7XfQhJVj57QrEWBzKf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33491251},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"e73174c78a502b15631f06c9ab66fbec2798bfd9","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.3.1_1683804372867_0.1889657527389048","host":"s3://npm-registry-packages"}},"7.3.2":{"name":"@vouchfor/uikit","version":"7.3.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.3.2","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"d83c981a264bf0358d28f802fbf7512aa97d333b","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.3.2.tgz","fileCount":187,"integrity":"sha512-jJhj9Gv38OpgGhfyMtteZoF1jOWXytHlWhiokMFJWEEXDlN71UGwNNJTOnZUF8NDHtzMz9AKxDtzLdSjGycCfQ==","signatures":[{"sig":"MEUCIQC8RVwT2tZHjT0WGZC8+f4ZTNpauOuN8V2VCpjwGNDjLgIgD4NUU7LqvqIndPh1YCI6TA1apHjdUTMOtWt9JWXmURc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1681566},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"gitHead":"e5547aa9f75647bb81e193453ed6814c7222380a","scripts":{"lint":"eslint ./src","test":"jest --testEnvironment jsdom","check":"svelte-check --tsconfig ./tsconfig.json","format":"prettier --write --plugin-search-dir=. .","package":"NODE_ENV=production svelte-package && NODE_ENV=production rollup -c","playroom":"dotenv -e ./.env playroom start","test:e2e":"playwright test","storybook":"start-storybook -p 3012 --no-manager-cache --no-open -s static","check:watch":"svelte-check --tsconfig ./tsconfig.json --watch","lint:staged":"lint-staged","playroom:build":"dotenv -e .env playroom build","storybook:build":"NODE_ENV=development build-storybook -s static"},"_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.3.2_1684194100325_0.0011012334544757696","host":"s3://npm-registry-packages"}},"7.3.3":{"name":"@vouchfor/uikit","version":"7.3.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.3.3","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"43f31a4170b4728d3bce8d25490ecee2b01cabba","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.3.3.tgz","fileCount":257,"integrity":"sha512-BEK66kIg5Vt024imzMYofr19LbchN6hLcFWYDVKD1ytonNqrvTqqv1iLjMBTpbeDM1cbjuYCvIdhQGPh/oyM2w==","signatures":[{"sig":"MEQCIGSAwTjCBx/JBDrQ0z+PipBqMHsbNk5K2JzW264N/Az2AiAxjSa83oZ1Zz3yazxdPxtePQlaQT/66W22kSSe1Rs0eQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33498783},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"0379901fc5a59b99d340ea6858598ea5364845b0","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.3.3_1684202176916_0.5886990086890342","host":"s3://npm-registry-packages"}},"0.0.0-experiment.13bda4b":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.13bda4b","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.13bda4b","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0d954e59b65ecd0895da24c9bcfa28b18a6b1dea","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.13bda4b.tgz","fileCount":257,"integrity":"sha512-jWyl7PTUJr8vknX/i+f7cf7u85zVeq4jmigSTqzLWsyRiyf+wVysGUE3qM1tD6h5RlbIpHKCRMFiup3VfLIXRg==","signatures":[{"sig":"MEUCIHi3Cn/A9rRtlj59jCcNKH9S4y3VfGYOYlJJ0285c298AiEAuSl2lEYH6dnXlaKDv7NDiR0o1qsF709OTT0tM3bvkDg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33511235},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"13bda4b570ac16b52e5e817f2f53ba798ff9e2fd","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.13bda4b_1684211790970_0.21895351002791652","host":"s3://npm-registry-packages"}},"0.0.0-experiment.fde4427":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.fde4427","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.fde4427","maintainers":[{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"5ec49c27e4c0dce7739a6090a3227677019b94c1","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.fde4427.tgz","fileCount":257,"integrity":"sha512-9JlbUhkKGr9uuvSIuZ+AwwCYyFDV7iEnRQAd+TPcEYSFcABBW8Br2oSgrECIk+uyDE90g7zC7MEeW52Pkm8iQg==","signatures":[{"sig":"MEUCIQDrHWM8DolZpndtT22tUtP8HPvvjwvSAwj7egW2F6ZQ2wIgEJ9vLNCTdpySlQ+vEsQYou/Uc0H3jbo3ePD2RAii7fI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33511231},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"fde44272bbf4d40eb33cf209c0a486328e5a84e0","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"rc","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.fde4427_1684213087055_0.13017285481590757","host":"s3://npm-registry-packages"}},"7.3.4":{"name":"@vouchfor/uikit","version":"7.3.4","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.3.4","maintainers":[{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3624b2180a697938f38f4f1d48b04dd4bebf5e5e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.3.4.tgz","fileCount":257,"integrity":"sha512-tx1Kl67QzZ3kOiIawsjHZpz4scyGL8V/1uBmPXF2uC50fciLhGcO0Y0yfG3tR7n/QHQ4sQN+ZAuq2n5Vy50lmQ==","signatures":[{"sig":"MEUCIQDX/MwMBEEfwGaQwqr/grRnjT+Xw4ySK0dkiG0ho4tO7wIgdWx5WGrjdWPwsPKcHsIJA2UhKJGHuqwrJDZHRbj44JY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33511216},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"6df3c8d3ec0ecf316e67155403d73dc29c103841","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.3.4_1684297909460_0.46447352306594714","host":"s3://npm-registry-packages"}},"7.3.5":{"name":"@vouchfor/uikit","version":"7.3.5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.3.5","maintainers":[{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"61c22b0befa6d19593d2bf582cfff2c95df4484e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.3.5.tgz","fileCount":257,"integrity":"sha512-A1TrdeNL3VbLRRnECLAq5ZlHjySL/w95+YzR7sHUwcWKzM94UkYk2o+M3v8fjdofIMTArlrf/Nf2D/5olY5aDQ==","signatures":[{"sig":"MEYCIQCNpaxxpfk3xlGDuNVayFREqDz2Mj+chGuDxfxZl1UB3AIhAInxdngBgSP4g/8WLWk4BkfxFHjyl7zYDOb5rcY21YuO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33510990},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"27182a65bd2f88a60adc9cf2190f7c60b32c8ac3","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.3.5_1684910261329_0.7767112874027782","host":"s3://npm-registry-packages"}},"7.3.6":{"name":"@vouchfor/uikit","version":"7.3.6","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.3.6","maintainers":[{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"e925f45da2e19407b764a7ae985659d3c07759e5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.3.6.tgz","fileCount":257,"integrity":"sha512-bssLCVUETgsSskshKiptjA3f1OUqfXbrWNCcm6exOGjk0nPo8H3t3oAtXxxb0thPr6xGdEyGeURdmqQX/EYSVA==","signatures":[{"sig":"MEUCIQDuwjh3Apbxh2j0wn8J4a/XWI1Y3jw1rh5cgkJ28kvBsAIgMvmPGUpOJLFL0PbYSl4MO62KiByH8kFyU5pTRBVo+BU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33515952},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"9a28b5ce5e0b57a935347b87f83202beee9d2f8f","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.3.6_1685347462207_0.6806500058718064","host":"s3://npm-registry-packages"}},"0.0.0-experiment.09273d9":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.09273d9","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.09273d9","maintainers":[{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"676df8af9dd1df9b044f6ead44e74029c6745f48","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.09273d9.tgz","fileCount":257,"integrity":"sha512-flbFnJ2m6MMx6B8p/GhTAJRnwTKs3ymKrBIQEUOh9wZ79poEj+d7s3SWapSrcTAeqYQX8njcZclF8Wi1qBXGfg==","signatures":[{"sig":"MEUCIQC05xKzLeT4GWZILHTCHYM/BYQw5Ctx1JK6bGIJL2d1vQIgARD2EnqZOYxk7W6qUP1yFHn2dxGgk9fGgjSYVyQEC/s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33508329},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"09273d9e9f552bccc0fe57fd55a37e91ddb41001","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"rc","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.09273d9_1685352364689_0.7546491461915685","host":"s3://npm-registry-packages"}},"0.0.0-experiment.6e68ae5":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.6e68ae5","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.6e68ae5","maintainers":[{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"2aa62ece76eecc4294eb20c3bda1ffe2b1a0bc8c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.6e68ae5.tgz","fileCount":257,"integrity":"sha512-laO5PL/u76ap2KMbtlqeGhigsi1mX0iEhEP2Yyf7Jn78p4FYu0EXlsHzPlaDjuN9Yt+4zqs7zurb62LVRF/5MQ==","signatures":[{"sig":"MEUCIQCI/Zf6rpKUvQwoogcK3j87Q7M4XOAaSVU6y3S5D2BTWQIgI39+oDkny96mE348k1K/WtzQQx2eWpcGC88A3y/paMg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33508329},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"6e68ae59144c66bdf00badec268a4fbfa8ffb6c1","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"rc","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.6e68ae5_1685408634460_0.2527161406670746","host":"s3://npm-registry-packages"}},"7.3.7":{"name":"@vouchfor/uikit","version":"7.3.7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.3.7","maintainers":[{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"4a608d077c048d94ccf5e3e765eaacb9f83a59e7","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.3.7.tgz","fileCount":257,"integrity":"sha512-Wgu1KMyDDPpfR+E0gjtUWB08RqxNEIllj8k3G/l2JvkSlecC1l9lEbzLR/I71oY7PZpkHNRj1++72OqfBr60SQ==","signatures":[{"sig":"MEUCIGTSB2jo5/pnA0Ivxkkwp1jCWBJhT0diPT6fnIwW2YngAiEAry4oAcek9Jo8yjQnd3YKCcl5Ef+MNtC5bycz+Udzk1w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33508314},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"a7e7b0ba63dd55352cf56c82383e5a828b24f965","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.3.7_1685409709901_0.36430663798213736","host":"s3://npm-registry-packages"}},"7.3.8":{"name":"@vouchfor/uikit","version":"7.3.8","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.3.8","maintainers":[{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"63858b6e224d29de7810886983b2aff4f9417373","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.3.8.tgz","fileCount":257,"integrity":"sha512-qP5pvYp4H3AeXhyvq5j477McDEyca6RcbenvFm1LgCsyF5WH2OxjfDxZttVqdY1syF+n+Ck0Vrq3PXgWbQESrw==","signatures":[{"sig":"MEUCIC1s191YyDb3JnNmZMUJk4HwE/MowMTb4Cq+bSXj4lEkAiEAssLHvu7E0vDaMoJqCOxHVIGT1cDJIDluXal4MZwj8pg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33511450},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"2c006733c498873386781eb805abb6b71151e6aa","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.3.8_1685686868454_0.6205335700401091","host":"s3://npm-registry-packages"}},"7.3.9":{"name":"@vouchfor/uikit","version":"7.3.9","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.3.9","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"a4c125de0b4ed3c3bd735c6d520161de3dfd25b5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.3.9.tgz","fileCount":257,"integrity":"sha512-3vynkaO6lsxSOV+3lh+vXl32d7JsvK4ri2LYUDb6fVJP+yGafi7YUkHWGdzNoFM1wdmkiE79ovQWzRSwbX9SPA==","signatures":[{"sig":"MEQCIBc6XI1QDDF0gycg28tWgUoze9HVgwjinML11CLWOuUmAiB9A98Z7DliELeibxnVyBfwK98wDUxB6jatLtDpb7PhpA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33510084},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"92864e703840dbb338c37bd9340e3d1ad78bf12e","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.0","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.3.9_1686269750469_0.07091191003028174","host":"s3://npm-registry-packages"}},"7.4.0":{"name":"@vouchfor/uikit","version":"7.4.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.4.0","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b0ea9f8daaaea6dd35f31de978ec06755d22a626","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.4.0.tgz","fileCount":257,"integrity":"sha512-T9QertafEnxsDSpEf0X/fwpn3gPuMxDVfZDrQrR9uoeqjkPm6r8qYmz9cOvCWf3xrEqbfZD1uVpe2Q8YiO7HIA==","signatures":[{"sig":"MEUCICS4/+TrNzwC2pdipsCymf09JxqerCahnUP8RO2KU6nlAiEAwhpuKBeoe5C9OiVR6dP+SwdRHij1M6YUq53RuYFi3fc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33574479},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"97abc26a91845090f6fee245740643c6ec35fd2e","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.1","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.4.0_1689927782530_0.802440947904643","host":"s3://npm-registry-packages"}},"7.4.1":{"name":"@vouchfor/uikit","version":"7.4.1","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.4.1","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"db63e3d294cf326670902a24753ba958d5791776","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.4.1.tgz","fileCount":261,"integrity":"sha512-YS63K1fQg1Y18gr0n0oX9Omi3UsmQYFebt/JLzjkkbk01b8L4aaO/tc2YkLyH8eCkTh7w2lU45mrBuJ5to89FQ==","signatures":[{"sig":"MEUCIBKxoTAl/5VHQpG5r+qnhURwxMPK1Xem/VD9ELnYVLAlAiEA7Bz3dkcBHFloSgEcNXL+sHLayeAv/uu9etsB6s+PEjs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33649316},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"8489e5b1e09e4b415a15091fdc80ed4ca5c599e8","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.1","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.4.1_1690845728209_0.8034610851421997","host":"s3://npm-registry-packages"}},"7.4.2":{"name":"@vouchfor/uikit","version":"7.4.2","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.4.2","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"0f86f29299c5cee525b29c6cf7f2ab35c25481ed","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.4.2.tgz","fileCount":261,"integrity":"sha512-9Hf1YDRnRR01OOyxAbi62GSgqVFL5cLNNeNr1ZgT/xgEOSGtSU/+WYixA+fV/E24k5sWSTKiOLUpFOlZNB2CVA==","signatures":[{"sig":"MEQCIB3uqx6a0+RT7DEGQSDxRmZ6u48gE7ALX7e0qTvUFE9PAiBzqfXTaGhbCebnwnl2WU5YoO7GA/oC62rOFblHrRjSPg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33644425},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"0f1e6d7f5710257e4a31a6c107f89ac5370c0ce6","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.2","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.4.2_1695199591406_0.19997996384286165","host":"s3://npm-registry-packages"}},"0.0.0-experiment.062c792":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.062c792","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.062c792","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b29cc1dd2457b3195bde7bfbfbc5fec7e1fd8965","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.062c792.tgz","fileCount":261,"integrity":"sha512-Wl4Dm9wduToB5JcRRxNdtAQ08rdzAVM0L4UPbsFkMvNjVs2EsxQGk65SkfkfvXpcCM7NzRtRgaKf5zw5i3NMVg==","signatures":[{"sig":"MEYCIQD3v+bHWVSTsOsUdi/2Z2QjXGD2dLrCjI6wIeHREExrcgIhAIFM9ezUBfQsi/5UTn6Cb2E5YNb3oFK6zuSMVS1xwiJZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33653375},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"062c792849338c98dba99071c0b1a79b2945cce3","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.2","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"rc","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.062c792_1700753010385_0.1020043484904305","host":"s3://npm-registry-packages"}},"0.0.0-experiment.c3f9f84":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.c3f9f84","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.c3f9f84","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b5c13785a87ed18b8a37eb76c517906b46ab2e62","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.c3f9f84.tgz","fileCount":261,"integrity":"sha512-6FsWiOBujQDcOWuToXo6PAHPFO90iHWHrczr1KcT+nhDsqAYrSFcm3BcCfqF3Gob3GOylUbY1QNuwRQe1hyNOg==","signatures":[{"sig":"MEYCIQDPrIanVntMZJMyxGq9w127o+veimeqqxCcyQmZzCPzkgIhAPgzL8xDzbv4B+VmyQvEY5+X6gcPMb5+HwnUffG0TDvK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33655235},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"c3f9f84df517566cb051af8b02061f5cd46fc739","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.2","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"rc","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.c3f9f84_1700755362632_0.6060267914982473","host":"s3://npm-registry-packages"}},"0.0.0-experiment.9193d62":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.9193d62","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.9193d62","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"f4fa34fa205ad2eccd6f1eba932d64254e9627c5","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.9193d62.tgz","fileCount":261,"integrity":"sha512-/4q+1AiQubVrict5Sk9BeTz9emE63aWws/uIpsP2yy76pCjqYRQKhdgo99A8a2IbvoSY4BbPDnUFkQhZuDDETw==","signatures":[{"sig":"MEUCIQCgnXr83nUl6y3inXvdq5J1674eF+Wgd50Ccsp6JixJywIgal0XZLOREfouPCOMHbvPnDmPlZ9QbPNyM/z4gNxupWY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33655235},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"9193d6267d0830b9615ad8e11386d06b9f924bc6","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.2","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"rc","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.9193d62_1700799258526_0.06604994490057625","host":"s3://npm-registry-packages"}},"0.0.0-experiment.ab706de":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.ab706de","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.ab706de","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"989b50fd20b928441b99c53ae4b4e8943e8ea972","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.ab706de.tgz","fileCount":261,"integrity":"sha512-c5KcW+UDZ/lO3vGV0EOfdkIHSfsRn09LA7s5rY1V45fJpsC+WeWPDVmTDPakoCmraINcmHUrzcWMMQiKzIxtig==","signatures":[{"sig":"MEQCICX2LVmSbBmAZYVz95wdH/2i5q33+Sp+vRUjo5bjIWyWAiA3PFzDMuDk2PUyRh9THhLXT2sUfqQj5JyO0k63rMn6AQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33655235},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"ab706de5f54ba941bb39a759536e9514d8a2ea82","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.2","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"rc","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.ab706de_1701125907965_0.3321973345370217","host":"s3://npm-registry-packages"}},"0.0.0-experiment.60fa328":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.60fa328","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.60fa328","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"735c4bed18f9729f905354b31cecdb118d825c85","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.60fa328.tgz","fileCount":261,"integrity":"sha512-3jJJB6D3nKGFDJZLDpTlup6NMjk6pAkAC0CeKuxzCxQpPqEcLOrl08A3mLeCbz5I6ocjLouskwXjfZ7Z5XiLiA==","signatures":[{"sig":"MEYCIQDiZcnMiQmFEP6Y2sBN/GqQeKPq34FGAi4a6DLXlYvlTAIhAPndkAsxdmZjC+qEopMQK1PoTROEPXDLz85b7jAqACXD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33655537},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"60fa328ab5b20f7d4dee1cd18b36132a48064d6d","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.2","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"rc","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.60fa328_1701129653684_0.6776673638261119","host":"s3://npm-registry-packages"}},"7.4.3":{"name":"@vouchfor/uikit","version":"7.4.3","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.4.3","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"7b4ea23bf540678818a4084e01e451dd22fcfbf9","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.4.3.tgz","fileCount":261,"integrity":"sha512-z0bC3fjpy/wJqgs36cYm8EiMjcOz5Fsn6ubonZC1OBqA044m3tU2Yy9wLlgJXmczhBCQLbZaJ0SiSZiARQmF0w==","signatures":[{"sig":"MEQCICja9ad6wN5UakpUdb21Ak/24ZD9vMQTuAJQO6rhpPDeAiAczclXdFEa1SXsr+iJBJ94zCxKoUzgdbsHy+5cnr/J9Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33655522},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"5458dcd04ab22da17e731c1a82d7c8bf64c4bd00","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.2","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.4.3_1701230691007_0.8807485401169648","host":"s3://npm-registry-packages"}},"0.0.0-experiment.b8ad5b9":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.b8ad5b9","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.b8ad5b9","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"b13ae7ab7826ba23d33d99a31a65bcaa3f15ff7c","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.b8ad5b9.tgz","fileCount":267,"integrity":"sha512-vsEAl7/tn8f1/ICDnJUuOdmq+18jfXnKFcJInEij6oFRamA/F2l6hD9Qt13puKJxL00t/h/p9n2/4Z2iT6uHVw==","signatures":[{"sig":"MEQCIEnO5xOF05frTRG9uMWzh8bJBRvSdxeGIWdm3gAsFJVOAiAzIDyYFe/KXndJQhdI/SuAmdHMwxdeIy4X6x9GkkKztw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36693168},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./embed/vouch-embed-recorder":{"import":"./embed/vouch-embed-recorder.js","default":"./embed/vouch-embed-recorder.js","require":"./embed/vouch-embed-recorder.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/VouchEmbedRecorder.svelte":"./embed/VouchEmbedRecorder.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"b8ad5b91130da638a1345b19821331c460e8a03f","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.2","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"rc","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.b8ad5b9_1704349936923_0.9424937710220107","host":"s3://npm-registry-packages"}},"0.0.0-experiment.771afd7":{"name":"@vouchfor/uikit","version":"0.0.0-experiment.771afd7","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@0.0.0-experiment.771afd7","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"3580ace1b0cba29d43d0028e459068f63d43e60e","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-0.0.0-experiment.771afd7.tgz","fileCount":267,"integrity":"sha512-NkhP/qWGv5/HArNc2JM++KzxAUieWxPA8lXmWISPGNLJKkKamUAbYQQSW3aAKuvfOBYLfZE2UBoTPoYajpY5FA==","signatures":[{"sig":"MEQCIFyDwLLHxURy2ZyukJWMkBl28DJLtDwHizN5jzM71ZzQAiAvs9X+hPPhlJ+yDqP076688/S9tXZNGBh7e8KxaFXR8A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36693168},"type":"module","types":"types.d.ts","readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./embed/vouch-embed-recorder":{"import":"./embed/vouch-embed-recorder.js","default":"./embed/vouch-embed-recorder.js","require":"./embed/vouch-embed-recorder.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/VouchEmbedRecorder.svelte":"./embed/VouchEmbedRecorder.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"771afd7b7222fe4ed48609f62fd14df57a6931c0","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.2","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"rc","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_0.0.0-experiment.771afd7_1704933458329_0.022172217893317248","host":"s3://npm-registry-packages"}},"7.5.0":{"name":"@vouchfor/uikit","version":"7.5.0","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","_id":"@vouchfor/uikit@7.5.0","maintainers":[{"name":"dstirk","email":"david@vouchfor.com"},{"name":"nathanvouch","email":"nathan@vouchfor.com"},{"name":"dteale","email":"dteale@vouchfor.com"},{"name":"julianburr-vouch","email":"julian@vouchfor.com"},{"name":"aaron-vouch","email":"aaron@vouchfor.com"},{"name":"vouch-tech","email":"tech@vouchfor.com"}],"homepage":"https://vouchau.github.io/vouch-uikit","bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"dist":{"shasum":"31602248c01e1a8a73a99a23846c01f01d124554","tarball":"https://registry.npmjs.org/@vouchfor/uikit/-/uikit-7.5.0.tgz","fileCount":267,"integrity":"sha512-2GuIHqcIw8KHW+ZKUHxbAByBba2swR4j1oRl2efJW/TwwyXAVUY/Rw3bhUTHOUTM5lLixgRr+AuxcUz/DLCEig==","signatures":[{"sig":"MEUCIEru+XOi1sqxone9Zf5x7XXcpifV4f9+Pl+Nh3tgpXFXAiEA2TCFy7C0k1mN64w1Q8AwujX1MIPfme6P4J/VYPdPslY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36693153},"type":"module","types":"types.d.ts","engines":{"node":">=14"},"exports":{"./events":"./events.js","./constants":"./constants.js","./embed/events":{"import":"./embed/events.js","default":"./embed/events.js","require":"./embed/events.cjs"},"./package.json":"./package.json","./fonts/roobert":"./fonts/roobert.js","./internal/theme":"./internal/theme.js","./internal/utils":"./internal/utils.js","./internal/getUids":"./internal/getUids.js","./internal/visitor":"./internal/visitor.js","./test/setup-tests":"./test/setup-tests.js","./internal/environment":"./internal/environment.js","./components/vouch-card":{"import":"./components/vouch-card.js","default":"./components/vouch-card.js","require":"./components/vouch-card.cjs"},"./components/vouch-menu":{"import":"./components/vouch-menu.js","default":"./components/vouch-menu.js","require":"./components/vouch-menu.cjs"},"./embed/vouch-embed-all":{"import":"./embed/vouch-embed-all.js","default":"./embed/vouch-embed-all.js","require":"./embed/vouch-embed-all.cjs"},"./embed/vouch-embed-card":{"import":"./embed/vouch-embed-card.js","default":"./embed/vouch-embed-card.js","require":"./embed/vouch-embed-card.cjs"},"./components/vouch-button":{"import":"./components/vouch-button.js","default":"./components/vouch-button.js","require":"./components/vouch-button.cjs"},"./embed/vouch-embed-jumbo":{"import":"./embed/vouch-embed-jumbo.js","default":"./embed/vouch-embed-jumbo.js","require":"./embed/vouch-embed-jumbo.cjs"},"./internal/actions/popper":"./internal/actions/popper.js","./internal/hooks/useFetch":"./internal/hooks/useFetch.js","./internal/hooks/useTrack":"./internal/hooks/useTrack.js","./components/vouch-persona":{"import":"./components/vouch-persona.js","default":"./components/vouch-persona.js","require":"./components/vouch-persona.cjs"},"./components/vouch-tooltip":{"import":"./components/vouch-tooltip.js","default":"./components/vouch-tooltip.js","require":"./components/vouch-tooltip.cjs"},"./embed/vouch-embed-button":{"import":"./embed/vouch-embed-button.js","default":"./embed/vouch-embed-button.js","require":"./embed/vouch-embed-button.cjs"},"./components/vouch-recorder":{"import":"./components/vouch-recorder.js","default":"./components/vouch-recorder.js","require":"./components/vouch-recorder.cjs"},"./embed/vouch-embed-popover":{"import":"./embed/vouch-embed-popover.js","default":"./embed/vouch-embed-popover.js","require":"./embed/vouch-embed-popover.cjs"},"./icons/VouchGraphic.svelte":"./icons/VouchGraphic.svelte","./internal/hooks/useRoobert":"./internal/hooks/useRoobert.js","./test/internals/utils.spec":"./test/internals/utils.spec.js","./embed/vouch-embed-dialogue":{"import":"./embed/vouch-embed-dialogue.js","default":"./embed/vouch-embed-dialogue.js","require":"./embed/vouch-embed-dialogue.cjs"},"./embed/vouch-embed-recorder":{"import":"./embed/vouch-embed-recorder.js","default":"./embed/vouch-embed-recorder.js","require":"./embed/vouch-embed-recorder.cjs"},"./icons/VouchIconPlay.svelte":"./icons/VouchIconPlay.svelte","./components/VouchCard.svelte":"./components/VouchCard.svelte","./components/VouchMenu.svelte":"./components/VouchMenu.svelte","./components/vouch-brand-logo":{"import":"./components/vouch-brand-logo.js","default":"./components/vouch-brand-logo.js","require":"./components/vouch-brand-logo.cjs"},"./components/vouch-media-plyr":{"import":"./components/vouch-media-plyr.js","default":"./components/vouch-media-plyr.js","require":"./components/vouch-media-plyr.cjs"},"./components/vouch-water-mark":{"import":"./components/vouch-water-mark.js","default":"./components/vouch-water-mark.js","require":"./components/vouch-water-mark.cjs"},"./embed/VouchEmbedCard.svelte":"./embed/VouchEmbedCard.svelte","./embed/vouch-embed-thumbnail":{"import":"./embed/vouch-embed-thumbnail.js","default":"./embed/vouch-embed-thumbnail.js","require":"./embed/vouch-embed-thumbnail.cjs"},"./embed/vouch-recorder-button":{"import":"./embed/vouch-recorder-button.js","default":"./embed/vouch-recorder-button.js","require":"./embed/vouch-recorder-button.cjs"},"./icons/VouchIconClose.svelte":"./icons/VouchIconClose.svelte","./icons/VouchIconMuted.svelte":"./icons/VouchIconMuted.svelte","./icons/VouchIconPause.svelte":"./icons/VouchIconPause.svelte","./embed/VouchEmbedJumbo.svelte":"./embed/VouchEmbedJumbo.svelte","./embed/vouch-recorder-preview":{"import":"./embed/vouch-recorder-preview.js","default":"./embed/vouch-recorder-preview.js","require":"./embed/vouch-recorder-preview.cjs"},"./internal/hooks/useFetchEmbed":"./internal/hooks/useFetchEmbed.js","./components/VouchButton.svelte":"./components/VouchButton.svelte","./embed/VouchEmbedButton.svelte":"./embed/VouchEmbedButton.svelte","./components/VouchPersona.svelte":"./components/VouchPersona.svelte","./components/VouchTooltip.svelte":"./components/VouchTooltip.svelte","./components/vouch-player-header":{"import":"./components/vouch-player-header.js","default":"./components/vouch-player-header.js","require":"./components/vouch-player-header.cjs"},"./components/vouch-volume-slider":{"import":"./components/vouch-volume-slider.js","default":"./components/vouch-volume-slider.js","require":"./components/vouch-volume-slider.cjs"},"./embed/VouchEmbedPopover.svelte":"./embed/VouchEmbedPopover.svelte","./icons/VouchIconCaptions.svelte":"./icons/VouchIconCaptions.svelte","./icons/VouchIconMaximize.svelte":"./icons/VouchIconMaximize.svelte","./icons/VouchIconMinimize.svelte":"./icons/VouchIconMinimize.svelte","./icons/VouchIconSettings.svelte":"./icons/VouchIconSettings.svelte","./internal/actions/outside-click":"./internal/actions/outside-click.js","./components/VouchRecorder.svelte":"./components/VouchRecorder.svelte","./embed/VouchEmbedDialogue.svelte":"./embed/VouchEmbedDialogue.svelte","./embed/VouchEmbedRecorder.svelte":"./embed/VouchEmbedRecorder.svelte","./embed/vouch-embed-inline-player":{"import":"./embed/vouch-embed-inline-player.js","default":"./embed/vouch-embed-inline-player.js","require":"./embed/vouch-embed-inline-player.cjs"},"./icons/VouchIconArrowLeft.svelte":"./icons/VouchIconArrowLeft.svelte","./icons/VouchIconPlayLarge.svelte":"./icons/VouchIconPlayLarge.svelte","./icons/VouchIconVolumeLow.svelte":"./icons/VouchIconVolumeLow.svelte","./test/components/VouchIcons.spec":"./test/components/VouchIcons.spec.js","./components/VouchBrandLogo.svelte":"./components/VouchBrandLogo.svelte","./components/VouchMediaPlyr.svelte":"./components/VouchMediaPlyr.svelte","./components/VouchWaterMark.svelte":"./components/VouchWaterMark.svelte","./components/vouch-player-controls":{"import":"./components/vouch-player-controls.js","default":"./components/vouch-player-controls.js","require":"./components/vouch-player-controls.cjs"},"./components/vouch-responsive-text":{"import":"./components/vouch-responsive-text.js","default":"./components/vouch-responsive-text.js","require":"./components/vouch-responsive-text.cjs"},"./embed/VouchEmbedThumbnail.svelte":"./embed/VouchEmbedThumbnail.svelte","./embed/VouchRecorderButton.svelte":"./embed/VouchRecorderButton.svelte","./icons/VouchIconArrowRight.svelte":"./icons/VouchIconArrowRight.svelte","./icons/VouchIconVolumeHigh.svelte":"./icons/VouchIconVolumeHigh.svelte","./internal/actions/resize-observer":"./internal/actions/resize-observer.js","./test/components/VouchButton.spec":"./test/components/VouchButton.spec.js","./embed/VouchRecorderPreview.svelte":"./embed/VouchRecorderPreview.svelte","./icons/VouchIconChevronDown.svelte":"./icons/VouchIconChevronDown.svelte","./test/components/VouchGraphic.spec":"./test/components/VouchGraphic.spec.js","./test/components/VouchPersona.spec":"./test/components/VouchPersona.spec.js","./test/components/VouchTooltip.spec":"./test/components/VouchTooltip.spec.js","./components/vouch-progress-scrubber":{"import":"./components/vouch-progress-scrubber.js","default":"./components/vouch-progress-scrubber.js","require":"./components/vouch-progress-scrubber.cjs"},"./icons/VouchIconVolumeMedium.svelte":"./icons/VouchIconVolumeMedium.svelte","./test/components/VouchMenu.spec.tsx":"./test/components/VouchMenu.spec.tsx","./test/internals/hooks/useFetch.spec":"./test/internals/hooks/useFetch.spec.js","./test/internals/hooks/useTrack.spec":"./test/internals/hooks/useTrack.spec.js","./components/VouchPlayerHeader.svelte":"./components/VouchPlayerHeader.svelte","./components/VouchVolumeSlider.svelte":"./components/VouchVolumeSlider.svelte","./embed/VouchEmbedInlinePlayer.svelte":"./embed/VouchEmbedInlinePlayer.svelte","./icons/VouchIconCaptionsCross.svelte":"./icons/VouchIconCaptionsCross.svelte","./test/components/VouchBrandLogo.spec":"./test/components/VouchBrandLogo.spec.js","./test/components/VouchWaterMark.spec":"./test/components/VouchWaterMark.spec.js","./components/vouch-embed-error-message":{"import":"./components/vouch-embed-error-message.js","default":"./components/vouch-embed-error-message.js","require":"./components/vouch-embed-error-message.cjs"},"./icons/VouchIconLoadingSpinner.svelte":"./icons/VouchIconLoadingSpinner.svelte","./components/VouchPlayerControls.svelte":"./components/VouchPlayerControls.svelte","./components/VouchResponsiveText.svelte":"./components/VouchResponsiveText.svelte","./test/components/VouchVolumeSlider.spec":"./test/components/VouchVolumeSlider.spec.js","./components/VouchProgressScrubber.svelte":"./components/VouchProgressScrubber.svelte","./test/internals/hooks/useFetchEmbed.spec":"./test/internals/hooks/useFetchEmbed.spec.js","./components/VouchEmbedErrorMessage.svelte":"./components/VouchEmbedErrorMessage.svelte","./components/vouch-embed-navigation-controls":{"import":"./components/vouch-embed-navigation-controls.js","default":"./components/vouch-embed-navigation-controls.js","require":"./components/vouch-embed-navigation-controls.cjs"},"./test/components/VouchProgressScrubber.spec":"./test/components/VouchProgressScrubber.spec.js","./components/VouchEmbedNavigationControls.svelte":"./components/VouchEmbedNavigationControls.svelte"},"gitHead":"1cf8deee581a2b86b5f3ef73fbcfb90bd313e3f1","_npmUser":{"name":"vouch-tech","email":"tech@vouchfor.com"},"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"_npmVersion":"8.19.4","description":"Vouch Svelte UIKit","directories":{},"lint-staged":{"*.{js,svelte}":"yarn lint"},"_nodeVersion":"16.20.2","dependencies":{"flat":"^5.0.2","plyr":"3.7.2","cookie":"^0.5.0","hls.js":"^1.3.5","core-js":"^3.29.1","postcss":"^7","@vime/core":"^5.4.0","tailwindcss":"npm:@tailwindcss/postcss7-compat","@lukeed/uuid":"^2.0.0","autoprefixer":"^9","whatwg-fetch":"^3.6.2","patch-package":"^6.5.1","@popperjs/core":"^2.11.6","@fontsource/fira-mono":"^4.5.10","postinstall-postinstall":"^2.1.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","path":"^0.12.7","vite":"^3.2.5","react":"^18.2.0","tslib":"^2.5.0","canvas":"^2.11.2","dotenv":"^10.0.0","eslint":"^7.32.0","rollup":"^2.79.1","semver":"^7.3.8","svelte":"^3.57.0","ts-jest":"^29.0.5","webpack":"^5.76.2","playroom":"0.31.0","prettier":"~2.8.5","react-dom":"^18.2.0","ts-loader":"^9.4.2","@percy/cli":"^1.21.0","babel-jest":"^29.5.0","base64-url":"^2.3.3","dotenv-cli":"^6.0.0","svelte2tsx":"^0.6.10","typescript":"^4.9.5","@babel/core":"^7.21.3","@types/jest":"^29.5.0","lint-staged":"^12.5.0","babel-loader":"^8.3.0","svelte-check":"^2.10.3","@sveltejs/kit":"next","@types/cookie":"^0.5.1","@types/hls.js":"^1.0.0","svelte-jester":"^2.3.2","svelte-loader":"^3.1.7","@slack/webhook":"^6.1.0","@percy/storybook":"^4.3.5","@playwright/test":"^1.31.2","@storybook/react":"^6.5.16","jest-canvas-mock":"^2.5.0","@babel/preset-env":"^7.20.2","@storybook/svelte":"^6.5.16","@sveltejs/package":"^1.0.2","svelte-preprocess":"^4.10.7","rollup-plugin-copy":"^3.4.0","require-from-string":"^2.0.2","rollup-plugin-svelte":"^7.1.4","rollup-plugin-terser":"^7.0.2","eslint-plugin-svelte3":"^3.4.1","@babel/runtime-corejs3":"^7.21.0","@rollup/plugin-replace":"^3.1.0","@storybook/addon-links":"^6.5.16","eslint-config-prettier":"^8.8.0","jest-environment-jsdom":"^29.5.0","prettier-plugin-svelte":"^2.9.0","@rollup/plugin-commonjs":"^22.0.2","@testing-library/svelte":"^3.2.2","@babel/preset-typescript":"^7.21.0","@storybook/addon-actions":"^6.5.16","storybook-addon-playroom":"^3.0.2","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^4.33.0","@rollup/plugin-node-resolve":"^13.3.0","@storybook/addon-essentials":"^6.5.16","@storybook/addon-svelte-csf":"^2.0.11","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/uikit_7.5.0_1704933551995_0.6552171574579086","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-08-17T05:34:52.408Z","modified":"2025-04-11T03:09:14.204Z","1.0.0":"2021-08-17T05:34:52.777Z","1.0.1":"2021-08-18T07:15:51.567Z","1.0.2":"2021-08-19T04:11:59.243Z","1.0.3":"2021-08-20T05:17:01.132Z","1.0.4":"2021-08-23T03:02:23.452Z","1.0.5":"2021-08-23T04:00:46.293Z","1.0.6":"2021-08-26T02:05:20.347Z","1.0.7":"2021-08-26T07:51:12.631Z","1.0.8":"2021-08-27T01:24:59.633Z","1.0.9":"2021-08-27T04:41:39.228Z","1.0.10":"2021-08-30T08:11:13.838Z","1.0.11":"2021-08-31T03:26:25.883Z","1.1.0":"2021-08-31T05:37:06.098Z","1.1.1":"2021-08-31T06:22:30.680Z","1.1.2":"2021-08-31T07:59:40.018Z","1.1.3":"2021-09-01T06:19:32.720Z","1.1.4":"2021-09-01T07:37:00.577Z","1.1.5":"2021-09-01T23:54:10.751Z","1.2.0":"2021-09-01T23:57:49.886Z","1.3.0":"2021-09-02T00:04:12.303Z","1.3.1":"2021-09-02T00:09:05.764Z","1.3.2":"2021-09-02T00:10:34.772Z","1.4.0":"2021-09-02T04:37:37.046Z","1.4.1":"2021-09-02T04:39:00.649Z","1.4.2":"2021-09-02T04:40:11.747Z","1.5.0":"2021-09-02T05:47:51.011Z","1.5.1":"2021-09-02T05:49:23.269Z","1.5.2":"2021-09-02T05:50:20.882Z","1.6.0":"2021-09-06T06:58:07.877Z","1.6.1":"2021-09-06T07:04:05.811Z","1.6.2":"2021-09-06T07:05:52.154Z","1.7.0":"2021-09-07T03:32:06.054Z","1.7.1":"2021-09-07T03:33:33.710Z","1.7.2":"2021-09-07T03:34:38.001Z","1.8.2":"2021-09-10T00:39:52.597Z","1.8.1":"2021-09-10T04:08:59.252Z","1.9.0":"2021-09-13T04:47:39.199Z","1.9.1":"2021-09-13T04:48:50.599Z","2.0.0":"2021-09-14T04:23:21.202Z","2.0.1":"2021-09-14T04:24:52.416Z","2.0.2":"2021-09-15T00:03:11.594Z","2.1.0":"2021-09-21T06:55:32.334Z","2.2.0":"2021-09-22T05:21:18.035Z","2.2.1":"2021-09-23T00:05:22.784Z","2.2.2":"2021-09-23T02:54:42.908Z","2.3.0":"2021-10-18T06:01:34.210Z","2.3.1":"2021-10-18T06:02:34.435Z","2.3.2":"2021-10-18T06:04:15.258Z","2.4.0":"2021-11-10T04:22:28.987Z","2.5.0":"2021-11-11T00:56:23.167Z","2.6.0":"2021-11-11T02:34:43.226Z","2.7.0":"2021-11-11T03:42:43.904Z","2.7.1":"2021-11-11T04:01:34.134Z","2.8.0":"2021-11-11T06:18:49.470Z","2.8.1":"2021-11-11T06:23:57.755Z","2.8.2":"2021-11-11T06:29:15.827Z","2.9.0":"2021-11-12T05:15:12.634Z","2.9.1":"2021-11-12T05:21:30.743Z","2.9.2":"2021-11-12T05:44:13.358Z","3.0.0":"2021-11-16T05:56:09.327Z","3.0.1":"2021-11-16T22:37:05.084Z","3.0.2":"2021-11-16T22:38:40.694Z","3.1.0":"2021-11-17T02:17:01.020Z","3.1.1":"2021-11-17T02:35:42.490Z","3.1.2":"2021-11-17T02:37:49.207Z","3.2.0":"2021-11-22T23:06:00.988Z","3.2.1":"2021-11-22T23:30:09.881Z","3.2.2":"2021-11-22T23:31:28.623Z","3.3.0":"2021-11-29T05:52:50.509Z","3.3.1":"2021-11-29T05:54:18.238Z","3.3.2":"2021-11-29T06:12:26.076Z","3.4.0":"2021-12-13T03:38:08.067Z","3.4.1":"2021-12-13T03:39:23.512Z","3.5.0":"2021-12-13T06:04:58.233Z","3.5.1":"2021-12-13T06:06:18.578Z","3.5.2":"2021-12-13T22:44:30.225Z","3.6.0":"2021-12-20T05:33:40.226Z","3.6.1":"2021-12-20T06:06:37.282Z","3.6.2":"2021-12-21T00:18:10.349Z","3.7.0":"2022-01-06T01:38:57.079Z","3.7.1":"2022-01-06T01:40:16.948Z","3.8.0":"2022-01-06T01:49:33.555Z","3.7.2":"2022-01-06T03:25:03.359Z","3.8.1":"2022-01-06T03:36:25.180Z","3.9.0":"2022-02-07T23:02:44.458Z","3.9.1":"2022-02-08T01:11:09.903Z","3.9.2":"2022-02-10T23:13:51.608Z","3.9.3":"2022-02-10T23:25:28.016Z","3.9.4":"2022-02-13T23:28:24.882Z","3.9.5":"2022-02-14T00:33:25.328Z","3.9.6":"2022-02-22T02:08:33.828Z","3.9.7":"2022-02-22T02:09:52.394Z","3.9.8":"2022-03-03T23:55:32.435Z","3.10.0":"2022-03-10T06:50:23.332Z","3.10.1":"2022-03-10T06:51:41.407Z","3.10.2":"2022-03-10T06:53:01.572Z","3.10.3":"2022-03-10T07:10:53.804Z","3.10.4":"2022-03-10T07:12:11.673Z","3.10.5":"2022-03-10T07:13:28.974Z","3.11.0":"2022-03-24T00:12:06.447Z","3.11.1":"2022-03-24T00:46:59.145Z","3.11.2":"2022-03-24T01:34:42.891Z","3.11.3":"2022-03-24T01:47:18.504Z","3.11.4":"2022-03-24T02:02:08.609Z","3.11.5":"2022-03-24T05:14:51.434Z","3.11.6":"2022-03-24T05:32:46.247Z","3.11.7":"2022-03-24T21:17:00.102Z","3.11.8":"2022-03-24T22:20:41.373Z","3.11.9":"2022-03-25T03:33:59.896Z","3.11.10":"2022-03-28T00:35:46.934Z","3.11.11":"2022-03-28T00:36:57.994Z","3.11.12":"2022-03-28T01:09:13.599Z","4.0.0":"2022-03-31T06:25:46.731Z","4.0.1":"2022-04-01T01:43:43.172Z","4.0.2":"2022-04-01T03:01:45.500Z","4.0.3":"2022-04-01T03:49:14.329Z","4.0.4":"2022-04-05T07:33:16.617Z","4.0.5":"2022-04-05T07:34:46.139Z","4.0.6":"2022-04-06T00:13:08.216Z","4.1.0":"2022-04-12T23:18:53.023Z","4.1.1":"2022-04-13T04:56:28.946Z","4.1.2":"2022-04-13T04:57:41.345Z","4.1.3":"2022-04-13T06:32:34.100Z","4.1.4":"2022-04-13T06:33:43.764Z","4.1.5":"2022-04-19T03:56:53.754Z","4.2.0":"2022-04-26T05:02:26.793Z","4.2.1":"2022-04-28T01:08:28.834Z","4.2.2":"2022-04-28T01:27:51.884Z","4.3.0":"2022-04-29T04:50:31.385Z","4.3.1":"2022-05-02T06:50:48.615Z","4.3.2":"2022-05-03T07:03:18.502Z","4.4.3":"2022-05-10T01:31:10.881Z","4.4.4":"2022-05-10T06:06:23.011Z","4.4.5":"2022-05-10T06:08:10.904Z","4.5.0":"2022-05-11T00:59:47.434Z","4.5.1":"2022-05-12T00:22:21.667Z","4.5.2":"2022-05-12T04:23:08.945Z","4.5.3":"2022-05-12T04:26:07.122Z","4.6.2":"2022-05-18T23:24:45.226Z","4.6.1":"2022-05-18T23:27:58.474Z","4.6.3":"2022-05-19T04:40:16.748Z","4.6.4":"2022-05-19T05:31:23.410Z","4.6.5":"2022-05-19T06:43:05.958Z","4.6.6":"2022-05-19T06:44:38.448Z","5.0.0":"2022-05-19T23:21:08.376Z","5.0.1":"2022-05-20T01:58:22.918Z","5.0.2":"2022-05-20T02:30:50.773Z","5.0.3":"2022-05-23T05:12:44.104Z","5.0.4":"2022-05-23T05:18:33.581Z","5.0.5":"2022-05-23T06:59:54.361Z","5.0.6":"2022-05-23T07:02:44.355Z","5.0.7":"2022-05-24T00:13:12.958Z","5.0.8":"2022-05-24T00:17:28.940Z","5.0.9":"2022-05-24T04:57:51.504Z","5.0.10":"2022-05-24T05:01:43.134Z","5.0.11":"2022-05-24T05:14:08.714Z","5.0.12":"2022-05-24T06:20:33.460Z","5.0.13":"2022-05-24T06:23:28.306Z","5.0.14":"2022-05-24T06:50:54.882Z","5.0.15":"2022-05-24T07:20:03.075Z","5.1.2":"2022-05-26T08:42:03.647Z","5.1.3":"2022-05-31T04:00:09.660Z","5.1.4":"2022-05-31T04:13:56.269Z","5.2.0":"2022-06-03T04:59:11.607Z","5.2.1":"2022-06-03T05:25:34.597Z","5.2.2":"2022-06-03T05:32:48.539Z","5.3.0":"2022-06-22T04:54:43.593Z","5.3.3":"2022-06-23T00:49:37.040Z","5.3.4":"2022-06-27T02:13:36.491Z","5.3.5":"2022-06-29T23:48:45.759Z","5.4.0":"2022-06-30T00:55:34.589Z","5.4.1":"2022-06-30T06:54:08.848Z","5.3.6":"2022-06-30T07:24:09.449Z","5.4.2":"2022-07-01T05:44:18.628Z","5.3.7":"2022-07-04T00:48:37.699Z","5.4.3":"2022-07-05T05:37:18.272Z","5.4.4":"2022-07-05T07:38:08.780Z","5.4.5":"2022-07-06T01:33:59.248Z","5.4.6":"2022-07-06T01:35:48.918Z","5.4.7":"2022-07-06T05:16:03.960Z","5.5.0":"2022-07-07T05:02:32.848Z","5.5.1":"2022-07-07T05:26:34.904Z","5.5.2":"2022-07-11T04:25:25.990Z","5.5.3":"2022-07-11T04:27:31.845Z","5.5.4":"2022-07-11T05:56:16.724Z","5.6.0":"2022-07-13T08:21:24.266Z","5.6.1":"2022-07-14T01:33:13.080Z","5.6.2":"2022-07-18T03:33:50.827Z","5.7.0":"2022-07-20T03:16:50.201Z","5.7.1":"2022-07-20T05:36:07.612Z","5.7.2":"2022-07-21T00:33:19.278Z","5.8.0":"2022-07-22T03:01:50.009Z","5.8.1":"2022-07-25T04:40:26.488Z","5.8.2":"2022-07-28T00:36:47.707Z","5.9.0":"2022-08-07T22:49:54.147Z","5.9.1":"2022-08-07T22:53:34.768Z","5.9.2":"2022-08-09T03:17:33.451Z","5.9.3":"2022-08-17T01:36:23.659Z","5.9.4":"2022-08-17T01:42:43.975Z","5.9.5":"2022-08-17T01:44:26.933Z","5.10.0":"2022-09-19T01:35:11.585Z","5.10.1":"2022-09-19T01:36:44.794Z","5.10.2":"2022-09-21T03:10:46.563Z","5.11.0":"2022-09-21T05:39:03.042Z","5.11.1":"2022-09-26T00:48:27.047Z","5.11.2":"2022-09-26T00:50:37.220Z","5.12.0":"2022-09-29T00:57:30.281Z","5.12.1":"2022-09-29T01:32:12.894Z","5.12.2":"2022-09-29T01:56:51.856Z","5.12.3":"2022-09-29T01:58:48.066Z","5.12.4":"2022-09-29T02:00:39.107Z","5.13.0":"2022-11-08T05:52:43.517Z","5.13.1":"2022-11-09T01:40:27.390Z","5.13.2":"2022-11-10T09:53:28.998Z","5.11.1-2144091.0":"2022-11-10T16:20:41.548Z","5.13.3":"2022-11-14T03:28:32.702Z","5.11.1-480517c.0":"2022-11-15T03:36:32.399Z","5.14.0":"2022-11-18T02:59:23.757Z","5.14.1":"2022-11-18T03:00:52.892Z","5.11.1-1dd988e.0":"2022-11-18T03:09:41.265Z","5.13.1-df6601b.0":"2022-11-18T03:38:50.419Z","5.13.1-7138b02.0":"2022-11-18T03:56:42.689Z","5.13.1-f8b6f47.0":"2022-11-18T04:00:40.704Z","5.14.2":"2022-11-18T04:06:18.724Z","5.13.1-069096c.0":"2022-11-18T04:21:16.684Z","5.13.1-f0eacde.0":"2022-11-18T04:32:40.686Z","5.14.1-010c9b7.0":"2022-11-18T04:39:20.624Z","5.14.1-c1dca64.0":"2022-11-18T05:13:53.047Z","0.0.0-experiment.b6dc83c":"2022-11-21T02:35:11.564Z","0.0.0-experiment.272d04c":"2022-11-22T06:14:53.012Z","0.0.0-experiment.8454bb7":"2022-11-22T06:30:09.326Z","0.0.0-experiment.6970813":"2022-11-22T06:34:17.765Z","0.0.0-experiment.072178b":"2022-11-22T06:39:42.402Z","0.0.0-experiment.7a37db5":"2022-11-22T06:47:09.525Z","0.0.0-experiment.80c3672":"2022-11-22T07:02:07.116Z","0.0.0-experiment.e6836b7":"2022-11-22T07:13:34.482Z","0.0.0-experiment.f0b27ce":"2022-11-22T23:43:08.335Z","0.0.0-experiment.6db4d4e":"2022-11-22T23:48:45.142Z","0.0.0-experiment.d658420":"2022-11-24T01:25:04.630Z","0.0.0-experiment.36edb66":"2022-11-24T02:35:23.246Z","0.0.0-experiment.b471d88":"2022-11-24T02:40:13.171Z","0.0.0-experiment.c388d90":"2022-11-25T06:28:33.564Z","0.0.0-experiment.e9269d6":"2022-11-30T04:19:25.306Z","0.0.0-experiment.c3feffc":"2022-11-30T10:26:41.643Z","0.0.0-experiment.9e87b0c":"2022-12-01T00:05:23.446Z","0.0.0-experiment.1a4afad":"2022-12-01T00:49:34.443Z","0.0.0-experiment.d0878b2":"2022-12-01T04:51:37.411Z","0.0.0-experiment.2681790":"2022-12-01T08:42:24.060Z","0.0.0-experiment.5b54aa8":"2022-12-06T00:37:15.831Z","0.0.0-experiment.188734e":"2022-12-06T02:00:03.928Z","0.0.0-experiment.97af203":"2022-12-06T02:22:38.624Z","0.0.0-experiment.50f08e1":"2022-12-06T02:32:53.171Z","0.0.0-experiment.abed36b":"2022-12-06T06:08:22.463Z","0.0.0-experiment.cb3dd4f":"2022-12-06T07:19:00.241Z","0.0.0-experiment.36ce3ca":"2022-12-07T04:11:55.756Z","0.0.0-experiment.430bbdf":"2022-12-07T04:32:39.265Z","0.0.0-experiment.a06854b":"2022-12-07T05:03:16.988Z","0.0.0-experiment.3087152":"2022-12-07T06:22:44.356Z","0.0.0-experiment.3530000":"2022-12-08T00:06:55.119Z","0.0.0-experiment.34a2031":"2022-12-08T00:52:31.210Z","6.0.0":"2022-12-08T01:00:24.156Z","0.0.0-experiment.5f2249f":"2022-12-08T07:05:59.593Z","0.0.0-experiment.033ecd5":"2022-12-08T08:16:29.909Z","0.0.0-experiment.fc50eb5":"2022-12-09T00:21:12.806Z","0.0.0-experiment.bb00c9c":"2022-12-09T00:56:39.884Z","0.0.0-experiment.8cbd5dc":"2022-12-09T03:10:42.108Z","0.0.0-experiment.73f4b80":"2022-12-09T03:25:02.360Z","0.0.0-experiment.39e9f5a":"2022-12-09T04:04:22.814Z","0.0.0-experiment.8896975":"2022-12-12T01:53:18.514Z","0.0.0-experiment.554f7d4":"2022-12-12T03:14:48.583Z","0.0.0-experiment.b8e8b6c":"2022-12-12T03:16:00.548Z","0.0.0-experiment.a069af1":"2022-12-12T03:43:56.083Z","0.0.0-experiment.8d8d84d":"2022-12-12T05:02:40.025Z","0.0.0-experiment.ac3f737":"2022-12-12T06:01:44.274Z","0.0.0-experiment.38a8354":"2022-12-12T07:13:31.469Z","0.0.0-experiment.5212515":"2022-12-12T22:57:35.523Z","0.0.0-experiment.5e65bd3":"2022-12-13T04:59:04.197Z","0.0.0-experiment.742e638":"2022-12-13T05:52:58.116Z","0.0.0-experiment.8b54e56":"2022-12-13T07:03:33.821Z","0.0.0-experiment.8b19738":"2022-12-13T21:20:49.380Z","0.0.0-experiment.11de1e3":"2022-12-13T22:19:48.857Z","0.0.0-experiment.fc441ac":"2022-12-14T04:14:23.736Z","0.0.0-experiment.5de95c5":"2022-12-14T05:03:31.352Z","0.0.0-experiment.7ae525c":"2022-12-21T02:35:01.278Z","0.0.0-experiment.0b06bdc":"2022-12-21T22:53:25.594Z","0.0.0-experiment.7e5ba52":"2023-01-03T22:24:31.955Z","0.0.0-experiment.4c331b8":"2023-01-06T02:14:19.890Z","0.0.0-experiment.742e798":"2023-01-09T01:54:15.068Z","0.0.0-experiment.a3fc591":"2023-01-09T03:55:27.108Z","0.0.0-experiment.fbc81cf":"2023-01-09T06:47:45.828Z","0.0.0-experiment.8c1a210":"2023-01-11T04:13:51.650Z","0.0.0-experiment.4e7a7a8":"2023-01-11T23:36:39.654Z","0.0.0-experiment.504422e":"2023-01-11T23:56:23.446Z","0.0.0-experiment.9c8f9df":"2023-01-12T00:13:25.546Z","0.0.0-experiment.8dad6a1":"2023-01-12T01:37:56.764Z","0.0.0-experiment.17ec794":"2023-01-12T21:44:59.669Z","0.0.0-experiment.ff07956":"2023-01-12T21:58:15.243Z","0.0.0-experiment.6d7cd5d":"2023-01-16T00:55:42.413Z","0.0.0-experiment.1409efc":"2023-01-16T06:25:43.504Z","0.0.0-experiment.57ce70d":"2023-01-16T06:36:54.340Z","0.0.0-experiment.61f9f6c":"2023-01-16T07:19:04.265Z","0.0.0-experiment.9ead1f5":"2023-01-16T23:58:03.580Z","0.0.0-experiment.b138c74":"2023-01-17T01:54:16.119Z","0.0.0-experiment.22783ce":"2023-01-17T01:57:04.158Z","0.0.0-experiment.078a024":"2023-01-17T01:57:23.947Z","0.0.0-experiment.69d5c45":"2023-01-17T12:20:37.933Z","0.0.0-experiment.4352e85":"2023-01-17T13:22:15.059Z","0.0.0-experiment.56acc4e":"2023-01-17T13:30:18.793Z","0.0.0-experiment.5d09ab3":"2023-01-17T13:48:38.517Z","0.0.0-experiment.7ec60a3":"2023-01-17T14:14:04.263Z","0.0.0-experiment.d05925b":"2023-01-18T02:12:54.084Z","0.0.0-experiment.5db6dd5":"2023-01-18T03:11:51.122Z","0.0.0-experiment.45515e0":"2023-01-18T04:08:51.566Z","0.0.0-experiment.c5ad0d3":"2023-01-18T05:37:11.155Z","0.0.0-experiment.b1e8403":"2023-01-18T08:03:55.769Z","0.0.0-experiment.f638eab":"2023-01-18T08:12:22.736Z","0.0.0-experiment.52c0b69":"2023-01-18T11:38:24.268Z","0.0.0-experiment.e28dc5b":"2023-01-18T11:44:49.724Z","0.0.0-experiment.4f494a5":"2023-01-18T22:02:49.898Z","0.0.0-experiment.9b977da":"2023-01-19T04:32:53.551Z","0.0.0-experiment.82c25da":"2023-01-19T04:37:27.771Z","0.0.0-experiment.76d1bcb":"2023-01-19T06:02:09.632Z","0.0.0-experiment.a8ae32e":"2023-01-19T22:58:29.526Z","0.0.0-experiment.4431484":"2023-01-20T03:28:50.421Z","0.0.0-experiment.360e52d":"2023-01-20T05:43:47.998Z","0.0.0-experiment.09d5eea":"2023-01-20T06:11:48.953Z","0.0.0-experiment.77b29fa":"2023-01-23T02:02:30.566Z","0.0.0-experiment.d9fc4eb":"2023-01-23T03:57:36.914Z","0.0.0-experiment.70f3347":"2023-01-23T23:33:05.803Z","0.0.0-experiment.468b7b8":"2023-01-24T00:24:27.731Z","0.0.0-experiment.936b6a1":"2023-01-24T00:55:06.100Z","0.0.0-experiment.0c03276":"2023-01-24T00:58:08.091Z","0.0.0-experiment.f8ccd92":"2023-01-24T01:33:02.922Z","0.0.0-experiment.d959dc2":"2023-01-24T02:47:15.244Z","0.0.0-experiment.04cfaee":"2023-01-24T02:48:42.579Z","0.0.0-experiment.2218b01":"2023-01-24T02:49:52.879Z","0.0.0-experiment.c9e846e":"2023-01-24T04:38:55.645Z","0.0.0-experiment.78607bc":"2023-01-24T06:30:38.355Z","0.0.0-experiment.ea70f57":"2023-01-24T07:03:46.522Z","0.0.0-experiment.532833a":"2023-01-24T10:38:32.351Z","0.0.0-experiment.bf25d19":"2023-01-24T12:26:41.923Z","0.0.0-experiment.22e28b1":"2023-01-25T00:38:02.278Z","0.0.0-experiment.6f1f9c6":"2023-01-25T00:46:17.611Z","0.0.0-experiment.4257f8d":"2023-01-25T01:43:50.974Z","0.0.0-experiment.d085edb":"2023-01-25T02:06:39.759Z","0.0.0-experiment.49b042a":"2023-01-25T02:45:27.662Z","7.0.0":"2023-01-25T04:01:00.838Z","0.0.0-experiment.fc2bc89":"2023-01-26T23:29:08.191Z","0.0.0-experiment.547b4d8":"2023-01-26T23:40:10.673Z","0.0.0-experiment.0a805b8":"2023-01-27T00:01:12.198Z","0.0.0-experiment.ac13e85":"2023-01-27T00:16:50.182Z","7.0.1":"2023-01-27T02:44:32.652Z","7.1.0":"2023-01-27T05:15:23.392Z","7.1.1":"2023-01-27T06:46:12.615Z","0.0.0-experiment.e339449":"2023-01-31T01:17:32.496Z","7.1.2":"2023-01-31T23:47:49.907Z","0.0.0-experiment.9966797":"2023-02-01T05:47:36.132Z","0.0.0-experiment.2e5b407":"2023-02-01T06:34:59.508Z","0.0.0-experiment.7a2d1eb":"2023-02-01T06:55:28.379Z","0.0.0-experiment.789adb7":"2023-02-01T23:40:56.339Z","0.0.0-experiment.e6cf649":"2023-02-01T23:48:52.216Z","0.0.0-experiment.7a7f1aa":"2023-02-02T02:18:01.455Z","7.1.3":"2023-02-02T04:39:32.172Z","7.1.4":"2023-02-06T23:14:14.107Z","0.0.0-experiment.d052688":"2023-02-07T08:28:12.508Z","0.0.0-experiment.6062712":"2023-02-09T07:51:56.138Z","0.0.0-experiment.9eb707b":"2023-02-09T07:54:57.213Z","0.0.0-experiment.3a61f50":"2023-02-09T08:07:13.859Z","0.0.0-experiment.55d6c2e":"2023-02-09T23:41:26.070Z","0.0.0-experiment.a989e69":"2023-02-10T02:19:33.642Z","0.0.0-experiment.6f9a127":"2023-02-13T01:54:29.775Z","0.0.0-experiment.91e0f87":"2023-02-13T10:34:15.700Z","0.0.0-experiment.a32aea0":"2023-02-13T23:00:38.238Z","0.0.0-experiment.77e4f76":"2023-02-13T23:07:04.542Z","7.1.5":"2023-02-13T23:44:01.978Z","0.0.0-experiment.555d336":"2023-02-14T23:53:26.595Z","0.0.0-experiment.83b1e06":"2023-02-15T00:12:59.891Z","0.0.0-experiment.e45cba9":"2023-02-15T00:45:58.040Z","0.0.0-experiment.5c0e153":"2023-02-15T05:00:10.901Z","0.0.0-experiment.ab6e146":"2023-02-15T05:22:41.064Z","7.2.0":"2023-02-15T05:51:19.504Z","7.2.1":"2023-02-16T05:45:08.745Z","7.2.2":"2023-02-20T00:40:58.599Z","7.2.3":"2023-02-21T04:46:06.859Z","0.0.0-experiment.d28b424":"2023-02-27T05:35:25.271Z","0.0.0-experiment.52e1391":"2023-02-27T05:39:22.915Z","0.0.0-experiment.e99edaa":"2023-02-27T06:10:30.589Z","0.0.0-experiment.11fc6cc":"2023-02-27T06:36:18.609Z","0.0.0-experiment.470e13d":"2023-02-27T07:06:28.525Z","0.0.0-experiment.c1b32a0":"2023-02-27T11:24:04.201Z","0.0.0-experiment.74d62d5":"2023-02-27T11:52:38.477Z","0.0.0-experiment.4129b35":"2023-03-08T23:27:05.081Z","0.0.0-experiment.a5be2f1":"2023-03-09T01:22:24.807Z","0.0.0-experiment.4a3082f":"2023-03-09T01:59:58.831Z","0.0.0-experiment.6a6791c":"2023-03-09T02:20:44.723Z","0.0.0-experiment.6cbe4dd":"2023-03-09T02:43:51.284Z","0.0.0-experiment.9c7fd19":"2023-03-09T03:27:43.516Z","0.0.0-experiment.089eb54":"2023-03-10T03:21:27.219Z","0.0.0-experiment.c72cd25":"2023-03-10T05:05:54.737Z","0.0.0-experiment.14f4e37":"2023-03-13T06:35:07.526Z","0.0.0-experiment.017e3f5":"2023-03-13T07:04:19.678Z","0.0.0-experiment.784b3d4":"2023-03-13T09:58:47.883Z","0.0.0-experiment.c83ea77":"2023-03-13T10:34:52.227Z","0.0.0-experiment.a681f69":"2023-03-14T00:57:36.011Z","0.0.0-experiment.9b95fc9":"2023-03-14T01:44:02.116Z","0.0.0-experiment.2412cbb":"2023-03-14T01:49:54.622Z","0.0.0-experiment.8202ed7":"2023-03-14T01:59:31.235Z","0.0.0-experiment.d028511":"2023-03-14T02:30:17.608Z","0.0.0-experiment.a78704f":"2023-03-14T04:17:15.876Z","0.0.0-experiment.a96d310":"2023-03-14T05:45:52.764Z","0.0.0-experiment.e645aa2":"2023-03-14T06:39:27.547Z","0.0.0-experiment.9da4ff9":"2023-03-14T06:51:40.101Z","7.2.4":"2023-03-15T02:17:56.340Z","0.0.0-experiment.32c17af":"2023-03-15T03:39:09.984Z","0.0.0-experiment.8c8bb4e":"2023-03-16T01:45:14.344Z","0.0.0-experiment.d3ebaae":"2023-03-21T02:05:04.682Z","0.0.0-experiment.f334dcc":"2023-03-23T02:24:25.709Z","0.0.0-experiment.ec31ca2":"2023-03-23T02:31:52.894Z","0.0.0-experiment.6a0d039":"2023-03-23T03:25:47.923Z","0.0.0-experiment.0900eb6":"2023-03-23T04:30:27.978Z","0.0.0-experiment.1101c03":"2023-04-13T23:32:08.887Z","0.0.0-experiment.ed7fe6a":"2023-04-13T23:58:12.991Z","0.0.0-experiment.0fc013a":"2023-04-17T01:59:29.802Z","0.0.0-experiment.48c6fb1":"2023-04-17T06:37:39.974Z","0.0.0-experiment.b1d6b73":"2023-04-17T14:05:14.538Z","0.0.0-experiment.e2be29e":"2023-04-18T00:19:51.695Z","0.0.0-experiment.4a6cfdd":"2023-04-19T01:32:52.037Z","0.0.0-experiment.ae62164":"2023-04-19T06:02:55.177Z","0.0.0-experiment.bdde5cf":"2023-04-19T06:08:06.332Z","0.0.0-experiment.6a2c11e":"2023-04-20T00:41:59.741Z","0.0.0-experiment.df1068c":"2023-04-21T00:46:34.178Z","0.0.0-experiment.9b529f1":"2023-04-21T01:26:17.122Z","0.0.0-experiment.d7ed5d0":"2023-04-21T05:29:33.803Z","0.0.0-experiment.3627577":"2023-04-21T12:43:27.032Z","0.0.0-experiment.7940ec1":"2023-04-21T13:05:10.082Z","7.3.0":"2023-05-04T01:58:39.007Z","7.3.1":"2023-05-11T11:26:13.334Z","7.3.2":"2023-05-15T23:41:40.593Z","7.3.3":"2023-05-16T01:56:17.302Z","0.0.0-experiment.13bda4b":"2023-05-16T04:36:31.285Z","0.0.0-experiment.fde4427":"2023-05-16T04:58:07.419Z","7.3.4":"2023-05-17T04:31:49.729Z","7.3.5":"2023-05-24T06:37:41.771Z","7.3.6":"2023-05-29T08:04:22.551Z","0.0.0-experiment.09273d9":"2023-05-29T09:26:05.008Z","0.0.0-experiment.6e68ae5":"2023-05-30T01:03:54.844Z","7.3.7":"2023-05-30T01:21:50.344Z","7.3.8":"2023-06-02T06:21:08.915Z","7.3.9":"2023-06-09T00:15:51.007Z","7.4.0":"2023-07-21T08:23:02.866Z","7.4.1":"2023-07-31T23:22:08.569Z","7.4.2":"2023-09-20T08:46:31.865Z","0.0.0-experiment.062c792":"2023-11-23T15:23:30.760Z","0.0.0-experiment.c3f9f84":"2023-11-23T16:02:43.131Z","0.0.0-experiment.9193d62":"2023-11-24T04:14:18.953Z","0.0.0-experiment.ab706de":"2023-11-27T22:58:28.282Z","0.0.0-experiment.60fa328":"2023-11-28T00:00:54.146Z","7.4.3":"2023-11-29T04:04:51.442Z","0.0.0-experiment.b8ad5b9":"2024-01-04T06:32:17.370Z","0.0.0-experiment.771afd7":"2024-01-11T00:37:38.786Z","7.5.0":"2024-01-11T00:39:12.366Z"},"bugs":{"url":"https://github.com/VouchAU/vouch-uikit/issues"},"author":{"url":"https://vouchau.github.io/vouch-uikit","name":"Vouch Dev Team","email":"hello@vouchfor.com"},"license":"MIT","homepage":"https://vouchau.github.io/vouch-uikit","keywords":["embed","design system","vouch-uikit","svelte","uikit"],"repository":{"url":"git+https://github.com/VouchAU/vouch-uikit.git","type":"git"},"description":"Vouch Svelte UIKit","maintainers":[{"email":"tech@vouchfor.com","name":"vouch-tech"},{"email":"david@vouchfor.com","name":"dstirk"},{"email":"aaron@vouchfor.com","name":"aaron-vouch"},{"email":"dteale@vouchfor.com","name":"dteale"},{"email":"stephane@vouchfor.com","name":"stephanevouch"}],"readme":"# <img src=\"https://app.vouchfor.com/favicon/favicon-32x32.png\" height=\"22px\" /> Vouch UIKit\n\n- [Get Started](#get-started)\n  - [Storybook](#storybook)\n  - [Playroom](#playroom)\n  - [Build package](#build-package)\n  - [Test package locally with vouch-app-mono](#test-package-locally-with-vouch-app)\n  - [Testing published package](#test-published-package)\n  - [Purge npm cache](#purge-jsdelivr-cache)\n  - [Purge specific bundles](#purge-specific-bundlejs)\n- [Releasing](#releasing)\n  - [Update vouch-app](#update-vouch-app)\n  - [Production release](#prod-release)\n\n# Get Started\n\nEnsure you have node `16` installed on your machine, for example via [nvm](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/TERMINAL.md#install-nvm), run `nvm ls` to check\n\n```bash\nnvm ls 16\n```\n\nyou should see output if you have the version installed\n\n```bash\n->     v16.17.1\n```\n\nensure you have [git ssh](https://github.com/VouchAU/vouch-app/blob/master/docs/dx/GITHUB.md) setup locally before you clone the repo\n\n```bash\ngit clone git@github.com:VouchAU/vouch-uikit-mono.git\n```\n\ninstall dependencies\n\n```bash\ncd vouch-uikit-mono\nyarn\n```\n\n## Storybook\n\nhttps://uikit-storybook.vercel.app\n\nStorybook is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Storybook can also be deployed per PR by adding the `deploy storybook` label on the PR.\n\nLocal dev\n\n```bash\nyarn storybook\n```\n\nbuild storybook\n\n```bash\nyarn storybook:build\n```\n\n## Playroom\n\nhttps://uikit-playroom.vercel.app\n\nPlayroom is hosted on vercel and deployed automatically via **GitHub Action** every time changes are merged back to `main`. Playroom is not intended to be used on it's own because we don't get good autocomplete for web components, and playroom cannot render the svelte components natively.\n\nInstead we have created a `Playroom` plugin for storybook that will automatically update the rendered web component when any of the story controls change.\n\nLocal dev\n\n```bash\nyarn playroom\n```\n\nbuild playroom\n\n```bash\nyarn playroom:build\n```\n\n## Build package\n\nBuild `src/lib` production/beta/alpha package, make sure you change `version` in `package.json`.\n\n```sh\ncd packages/uikit\n...\nyarn package        # production\n```\n\n## Test package locally with `vouch-app`\n\nOnce you build the `npm` package, you can test locally with `vouch-app` to ensure everything works as expected before publishing to `npm`\n\nAssuming you build a package according [Build package](#build-package), now you can create a symlink to your local package\n\n```sh\ncd package\nyarn link\n```\n\nyou should see this if successfully linked\n\n```sh\nyarn link v1.22.10\nsuccess Registered \"@vouchfor/uikit\".\ninfo You can now run `yarn link \"@vouchfor/uikit\"` in the projects where you want to use this package and it will be used instead.\n✨  Done in 0.04s.\n```\n\ngo to `vouch-app-mono` folder and switch to the branch you want to test against with then link the local package\n\n```sh\ncd vouch-app-mono\ngit checkout VCH-222\nyarn link @vouchfor/uikit\nyarn dev\n```\n\nVoilà, you are testing your feature branch with the local uikit package and don't forget to roll back after testing\n\n```sh\ncd  vouch-app\nyarn unlink @vouchfor/uikit\n...\ncd vouch-uikit/package\nyarn unlink\n```\n\n## Test published package\n\nYou can publish an experimental version of the package by adding the `publish rc` label onto your PR. This will use the commit hash and a prerelease version number to publish onto NPM which you can then install into your application for testing.\n\nThis can be important because the published package and the linked package aren't necessarily 100% the same, some functionality is lost during the conversion to web-components:\n- When using a svelte component within another svelte component, you are able to pass $$restProps down to inner DOM elements, this doesn't work when the svelte component is changed into a web-component during build time\n- Using slots is a little weird\n  - When using normal svelte components, if you want to style slot contents from the parent component you need to use the `:global(<selector>)` css selector\n  - This style is lost when compiling to web components, but can be regained by changing the `:global(<selector>)` selector to a `::slotted(<selector>)` pseudo element\n\n## Purge `jsdelivr` cache\n\n`@vouchfor/uikit` is most likely consumed by the `latest` **tag**, not version number to ensure clients can always get the latest updates. [jsdelivr](https://cdn.jsdelivr.net/) default has 7 days cache for `tag`, so we need to purge it to reflect new version number.\n\n- Check current tag version number\n\n  - [Click to check Production](https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n- Purge cache\n  - **_Danger_** [Click to purge Production](https://purge.jsdelivr.net/npm/@vouchfor/uikit@latest/)\n\n### Purge specific bundle.js\n\nOur embed code snippet `src` attribute currently refers to a specific embed bundle js , for example\n\n```html\n<script\n  type=\"module\"\n  crossorigin=\"anonymous\"\n  referrerpolicy=\"no-referrer\"\n  src=\"https://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\"\n></script>\n<div>\n  <vouch-embed-inline-player\n    showname=\"true\"\n    showlogo=\"true\"\n    showcaption=\"true\"\n    showcontrol=\"true\"\n    autoplay=\"true\"\n    showwatermark=\"true\"\n    vouchid=\"u0Q37yiavT\"\n    apikey=\"6YoF1TdME4-DYRTycxZxr7LPSa1VYSz9MJj2ETOQUoOMt4zyLSrfJKSzBzerV\"\n    orientation=\"portrait\"\n  />\n</div>\n```\n\nIn this case, you will need to purge the bundle file specifically by providing absolute path\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/embed/{filename}.bundle.js\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@{env}/components/{filename}.bundle.js\n```\n\nfor example,\n\n```http\nhttps://cdn.jsdelivr.net/npm/@vouchfor/uikit@latest/embed/vouch-embed-inline-player.bundle.js\n```\n\n## Unit test\n\n```bash\nyarn test\n```\n\nupdate snapshot\n\n```bash\nyarn test -u\n```\n\n# Releasing\n\nTo make sure we are delivering the highest quality software we can, there is a multi-step review and testing process before we go ahead with any release.\n\n1. Once the feature has been implemented, create a PR and add the `deploy storybook` label to it, once storybook has been deployed send the link to the stakeholder that is in charge of the feature and get them to review.\n    - The deployment URL will be added as a comment to the PR once deployed\n2. Use browserstack (credentials in 1password) to cross-browser test the storybook PR deployment using a wide range of operating systems and browser versions\n    - TODO: Figure out what is a reasonable set of browsers to test with\n    - TODO: Automated tools for cross browser testing using browserstack\n3. Publish the package as a release candidate by adding the `publish rc` label to the PR\n    - Once published, install the package into the admin app and test the feature there to make sure your changes are working in situ.\n    - Create a PR deployment for the admin app using the release candidate package and get stakeholders to review also.\n4. If there are no issues, bump the package to the appropriate version in the PR, then the PR can be merged into `main` and a regular release can be created using the instructions below\n    - TODO: Automate public release\n\n## Update `vouch-app`\n\n`@vouchfor/uikit` is a dependency of the admin app within `vouch-app-mono` and `vouch-app` for embeds and the media player, follow the below steps to publish NPM package and update `package.json` dependency in `vouch-app-mono`.\n\n> Always use semver for version numbering for main releases\n\n- Major: Breaking changes\n- Minor: Feature releases\n- Patch: Hotfixes\n\nBecause we have a few different environments that the embeds may be fetching from (`dev`, `staging` and `prod`) we have added an `env` prop to all of the necessary embeds that allows you to choose the environment at run time. This, along with PR releases, removes the need for an `alpha` and `beta` package release and will allow us to better automate the release process.\n\n### Prod release\n\n> You will need to log in `vouch-tech` on your terminal before publishing, credential is shared via 1Password.\n\n```bash\nnpm login\n```\n\n1. Make sure you are in `packages/uikit` directory\n2. Run `yarn package`\n3. Move to the created `package` folder\n4. Run `npm publish --access public` to publish under the `latest` tag\n\n```bash\ncd packages/uikit\nyarn package\ncd package\nnpm publish --access public\n```\n\nThen, using the same PR in `vouch-app-mono` that you used to test the experimental version, bump to the now latest version and re-test one final time to make sure everything worked as expected.\n\nIf everything works correctly then the PR is ready to be merged, and the CDN cache can be purged to allow for upstream clients using embeds in their apps to receive the new version.\n\n### Post release testing\n\nUse [this](https://codepen.io/aaronuu/pen/poKYJVz) codepen to bump the package version that is downloaded from the CDN and make sure all of the embeds work as expected.","readmeFilename":"README.md"}